isFocused property

bool get isFocused

Getter for whether this class considers MaterialState.focused to be active.

Implementation

bool get isFocused => materialStates.contains(MaterialState.focused);