Update color of the active track within Toggle Switches
This commit is contained in:
parent
16d57b8bad
commit
60e34f780e
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue