Browse Source

Update color of the active track within Toggle Switches

vishnukvmd 1 năm trước cách đây
mục cha
commit
60e34f780e
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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,