DesignPasswordDetails class
What a DesignPasswordReveal's builder paints from.
- Annotations
Constructors
- DesignPasswordDetails({required bool obscured, required VoidCallback toggle, required String toggleLabel})
-
The details of a reveal.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- obscured → bool
-
Whether the password is hidden: give it to the field's
obscureText.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toggle → VoidCallback
-
Flips it: the toggle's press.
final
- toggleLabel → String
-
What the toggle says to a screen reader ("Show password" while hidden,
"Hide password" while shown); give the toggle
toggled: !obscured.final
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