isHovered property

bool get isHovered

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

Implementation

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