withState abstract method

ButtonStateProperty<T> withState(
  1. Set<ButtonState> states
)

update state field

Implementation

ButtonStateProperty<T> withState(Set<ButtonState> states);