ButtonState<T> typedef

ButtonState<T> = T Function(ButtonStates)

Implementation

typedef ButtonState<T> = T Function(ButtonStates);