isFocused property Null safety

bool isFocused

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

Implementation

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