FocusHighlightMode enum Null safety

An enum to describe which kind of focus highlight behavior to use when displaying focus information.

Inheritance

Constructors

FocusHighlightMode()
const

Values

touch → const FocusHighlightMode

Touch interfaces will not show the focus highlight except for controls which bring up the soft keyboard.

If a device that uses a traditional mouse and keyboard has a touch screen attached, it can also enter touch mode if the user is using the touch screen.

FocusHighlightMode()
traditional → const FocusHighlightMode

Traditional interfaces (keyboard and mouse) will show the currently focused control via a focus highlight of some sort.

If a touch device (like a mobile phone) has a keyboard and/or mouse attached, it also can enter traditional mode if the user is using these input devices.

FocusHighlightMode()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<FocusHighlightMode>
A constant List of the values in this enum, in order of their declaration.
[touch, traditional]