Skip to content

Commit

Permalink
Update radio.style.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
tilucasoli committed Apr 17, 2024
1 parent 207fcd0 commit 739545b
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions lib/components/radio/radio.style.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,21 +70,17 @@ Style _outerContainerStyle() => Style(
box.border.all(width: 1.5, color: Colors.black87),
);

Style _innerContainerStyle() => AnimatedStyle(
Style(
box.borderRadius.all(10),
box.color.black87(),
RadioState.active(
box.width(8.5),
box.height(8.5),
),
RadioState.inactive(
box.width(0),
box.height(0),
),
Style _innerContainerStyle() => Style(
box.borderRadius.all(10),
box.color.black87(),
RadioState.active(
box.width(8.5),
box.height(8.5),
),
RadioState.inactive(
box.width(0),
box.height(0),
),
duration: const Duration(milliseconds: 150),
curve: Curves.bounceInOut,
);

Style _labelStyle() => Style(
Expand Down

0 comments on commit 739545b

Please sign in to comment.