isHovered property

bool isHovered

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

Implementation

bool get isHovered => materialStates.contains(MaterialState.hovered);