Leverage EventChannel
to listen for the system accent color
#243
Labels
Milestone
EventChannel
to listen for the system accent color
#243
Currently, we are hardcoding the bizarrely-named
MacosColors.controlAccentColor
, which is the user's selected system accent color. (Obviously this name doesn't make much sense, but that's what Apple calls it...).Obviously, someone making a macOS application would expect that their choice of system-level accent color would be reflected in their application unless explicitly overridden. Since
macos_ui
is now a plugin, we can leverage Flutter'sEventChannel
to listen to the nativecontrolAccentColor
's value.This would require some refactoring to
MacosColors
sincecontrolAccentColor
is a static value. I'm not quite certain the best way to proceed with this at this time.The text was updated successfully, but these errors were encountered: