-
-
Notifications
You must be signed in to change notification settings - Fork 197
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
MacosSlider.color
property defaults to this.color = CupertinoColors.systemBlue
when not specified, rather than defaulting to system accent color. This seems to be generally inconsistent with behavior of other macos_ui controls such as MacosCheckbox
that use MacosThemeData.accentColor
.
Changing the default to
this.color = MacosTheme.of(context).primaryColor
produces the desired behavior, though a more complex construction my be preferred depending on assumptions about availability of a MacosTheme
.
Steps To Reproduce
MacosSlider(
value: value,
min: min,
max: max,
onChanged: onChangedHandler,
);

Expected behavior
Use current system accent color, as in this example from a system with accent color set to green:

Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working