state property

ButtonState? state
final

Optional state to override the default initial state.

Implementation

final ButtonState? state;