Password class

A password input component.

Constructors

Password({required String prompt, bool confirmation = false, String? confirmPrompt, String? confirmError})
Constructs a Password component with the default theme.
Password.withTheme({required Theme theme, required String prompt, bool confirmation = false, String? confirmPrompt, String? confirmError})
Constructs a Password component with the supplied theme.

Properties

confirmation bool
Indicates whether to ask for the password again to confirm.
final
confirmError String?
The error message to be shown if the repeated password did not match the initial password.
final
confirmPrompt String?
The prompt to be shown when asking for the password againg to confirm.
final
hashCode int
The hash code for this object.
no setterinherited
prompt String
The prompt to be shown together with the user's input.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
theme Theme
The theme for the component.
final

Methods

createState() → _PasswordState
Creates a State for current component, inspired by Flutter's StatefulWidget.
disposeState(State<Component> state) → void
Disposes current state, to make the Context null and unusable after the rendering is completely finished.
inherited
interact() String
Starts the rendering processs.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pipeState(State<Component> state) → State<Component>
Pipes the state after running createState in case of needing to handle the state from outside.
inherited
toString() String
A string representation of this object.
inherited

Operators

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