highlightMode property

FocusHighlightMode highlightMode

Indicates the current interaction mode for focus highlights.

The value returned depends upon the highlightStrategy used, and possibly (depending on the value of highlightStrategy) the most recent interaction mode that they user used.

If highlightMode returns FocusHighlightMode.touch, then widgets should not draw their focus highlight unless they perform text entry.

If highlightMode returns FocusHighlightMode.traditional, then widgets should draw their focus highlight whenever they are focused.

Implementation

FocusHighlightMode get highlightMode => _highlightMode;