PasswordTextFormField class

Inheritance

Constructors

PasswordTextFormField({Key? key, required TextEditingController controller, InputDecoration? decoration, AutovalidateMode autovalidateMode = AutovalidateMode.onUserInteraction, bool obscureText = true, String obscuringCharacter = "*", TextStyle? style, TextInputType? keyboardType = TextInputType.text, bool showValidationRow = true, bool overrideValidationRow = false, Function? customValidationSection, bool debugPrintLoud = false, Color textColor = Colors.white, FontWeight textFontWeight = FontWeight.normal, double textFontSize = 15})

Properties

autovalidateMode AutovalidateMode
Determines how frequent the password TextFormField should be validated. Defaults to AutovalidateMode.onUserInteraction
final
controller TextEditingController
The controller required by the password TextFormField
final
customValidationSection Function?
Function that returns the widget to show on the validation section
final
debugPrintLoud bool
Set whether the controller listener should also print out the boolean values
final
decoration InputDecoration?
Input decoration to be used on the password TextFormField
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardType TextInputType?
Type of keyboard to be shown to the user. This defaults to TextInputType.text
final
obscureText bool
Determines whether or not to hide the password being typed in by a user. By default this is set to True
final
obscuringCharacter String
Character to be used instead of the actual password text
final
overrideValidationRow bool
Determines whether or not to use developer's custom validation section function
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showValidationRow bool
Determines whether or not to show the row that shows which requirements have been met
final
style TextStyle?
TextStyle for the password TextFormField
final
textColor Color
Color of the validation text
final
textFontSize double
Font size of the validation text
final
textFontWeight FontWeight
Font weight of the validation text
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<PasswordTextFormField>
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.
inherited
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