onChange property
void Function(StyleMenuLayer layer)
onChange
final
Callback invoked when a layer (style) is selected.
The host application is responsible for applying the selection (e.g. reloading theme with selected style / categories / overlays).
Implementation
final void Function(StyleMenuLayer layer) onChange;