state property

ValueNotifier<SMenuState> state
final

A ValueNotifier for current menu state that will notify when the state changes. Possible values are of type SMenuState.

Implementation

final ValueNotifier<SMenuState> state =
    ValueNotifier<SMenuState>(SMenuState.closed);