From 739545be75ce97d69798605961ecf34f481f04f7 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira <62367544+tilucasoli@users.noreply.github.com> Date: Wed, 17 Apr 2024 13:04:20 -0400 Subject: [PATCH] Update radio.style.dart --- lib/components/radio/radio.style.dart | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/lib/components/radio/radio.style.dart b/lib/components/radio/radio.style.dart index 01dcd38..cdbfa4c 100644 --- a/lib/components/radio/radio.style.dart +++ b/lib/components/radio/radio.style.dart @@ -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(