onPanelStateChanged property

(void Function(PanelState state)?) onPanelStateChanged
final

A callback that is called whenever the state of the panel is changed.

This will return any of the values of PanelState.

Implementation

final void Function(PanelState state)? onPanelStateChanged;