Browse Source

Update color of the active track within Toggle Switches

vishnukvmd 1 year ago
parent
commit
60e34f780e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/ui/components/toggle_switch_widget.dart

+ 1 - 0
lib/ui/components/toggle_switch_widget.dart

@@ -53,6 +53,7 @@ class _ToggleSwitchWidgetState extends State<ToggleSwitchWidget> {
             fit: BoxFit.contain,
             child: Switch.adaptive(
               activeColor: enteColorScheme.primary400,
+              activeTrackColor: enteColorScheme.primary300,
               inactiveTrackColor: enteColorScheme.fillMuted,
               materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
               value: toggleValue ?? false,