PasswordRevealMode enum

Inheritance

Constructors

PasswordRevealMode()
const

Values

peek → const PasswordRevealMode

The password reveal button is visible. The password is not obscured while the button is pressed.

If the focus is lost, the button will be hidden on next time the focus is got until the password box is cleared. (This is a security concern).

If you want to keep the reveal button visible, see peekAlways.

peekAlways → const PasswordRevealMode

The password reveal button is visible. The button is not obscured while the button is pressed.

The reveal button will always be visible if the password box has the focus and it's not empty. Unlike the peek mode, if the focus is regained, the reveal button will be visible.

hidden → const PasswordRevealMode

The password reveal button is not visible. The password is always obscured.

visible → const PasswordRevealMode

The password reveal button is not visible. The password is not obscured.

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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<PasswordRevealMode>
A constant List of the values in this enum, in order of their declaration.