Skip to content

Commit

Permalink
feat: set dark mode switch animation
Browse files Browse the repository at this point in the history
  • Loading branch information
AladdineDev committed Feb 11, 2024
1 parent b26207a commit 9d1ad3f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class DarkModeSwitch extends ConsumerWidget {
spacing: 8,
height: 36,
indicatorSize: const Size.square(32),
animationCurve: Curves.decelerate,
style: ToggleStyle(
backgroundColor: Theme.of(context).colorScheme.primary,
borderColor: Colors.transparent,
Expand Down

0 comments on commit 9d1ad3f

Please sign in to comment.