onBackgroundModeChanged property

ValueChanged<LayerBackgroundMode>? onBackgroundModeChanged
final

A callback that is called when the background mode is changed.

This field holds a function that will be called when the background mode is changed. The function takes a single parameter of type LayerBackgroundColorModeE, which represents the new background mode.

Implementation

final ValueChanged<LayerBackgroundMode>? onBackgroundModeChanged;