currentState property

ButtonState? get currentState

Implementation

ButtonState? get currentState => states[value];