ZetaPasswordInput class

Zeta Password Input

Inheritance
Available Extensions

Constructors

ZetaPasswordInput({ZetaWidgetSize size = ZetaWidgetSize.large, String? validator(String?)?, void onChanged(String)?, bool obscureText = true, bool enabled = true, TextEditingController? controller, String? hintText, String? label, String? footerText, IconData? footerIcon, bool rounded = false, Key? key})
Constructs ZetaPasswordInput
const

Properties

controller TextEditingController?
Controls the text being edited.
final
enabled bool
Whether the input field is enabled or disabled. Defaults to true.
final
footerIcon IconData?
Optional icon to display beside the footer text.
final
footerText String?
Optional footer text to display below the input field.
final
hashCode int
The hash code for this object.
no setterinherited
hintText String?
Text that suggests what sort of input the field accepts.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
label String?
Optional label text to display above the input field.
final
obscureText bool
Whether the text is obscured. Useful for passwords. Defaults to true.
final
onChanged → (void Function(String)?)
Called when the user initiates a change to the ZetaPasswordInput
final
rounded bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size ZetaWidgetSize
Defines the size of the input field. Can be ZetaWidgetSize.small, ZetaWidgetSize.medium, or ZetaWidgetSize.large. Defaults to ZetaWidgetSize.large.
final
validator → (String? Function(String?)?)
An optional method that validates an input. Returns an error string to display if the input is invalid, or null otherwise.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<ZetaPasswordInput>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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