SeniorTextFieldPassword class

Inheritance

Constructors

SeniorTextFieldPassword({bool autocorrect = true, bool autofocus = false, AutovalidateMode? autovalidateMode, TextEditingController? controller, String? counterText, bool disabled = false, bool enableSuggestions = true, FocusNode? focusNode, String? helper, String? hintText, String? initialValue, List<TextInputFormatter>? inputFormatters, TextInputType? keyboardType, String? label, int? maxLength, dynamic onChanged(String)?, VoidCallback? onEditingComplete, dynamic onFieldSubmitted(String)?, void onSaved(String?)?, VoidCallback? onTap, void onTapOutside(PointerDownEvent)?, IconData? prefixIcon, Widget? prefixWidget, bool readOnly = false, SeniorTextFieldStyle? style, TextInputAction? textInputAction, String? validator(String?)?})
const

Properties

autocorrect bool
Whether to enable autocorrection.
final
autofocus bool
Whether this text field should focus itself if nothing else is already focused.
final
autovalidateMode AutovalidateMode?
Used to enable/disable this form field auto validation and update its error text.
final
controller TextEditingController?
Controls the text being edited.
final
counterText String?
Character counter text.
final
disabled bool
If true the text field is "disabled": it ignores taps.
final
enableSuggestions bool
Whether to show input suggestions as the user types.
final
focusNode FocusNode?
Defines the keyboard focus for this widget.
final
hashCode int
The hash code for this object.
no setterinherited
helper String?
Auxiliary text displayed below the field.
final
hintText String?
Auxiliary text within the field when there is no content entered yet.
final
initialValue String?
An optional value to initialize the form field to, or null otherwise.
final
inputFormatters List<TextInputFormatter>?
Optional input validation and formatting overrides.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardType TextInputType?
The type of keyboard to use for editing the text.
final
label String?
Field label.
final
maxLength int?
The maximum number of characters (Unicode grapheme clusters) to allow in the text field.
final
onChanged → (dynamic Function(String)?)
Called when the user initiates a change to the TextField's value: when they have inserted or deleted text.
final
onEditingComplete VoidCallback?
Called when the user submits editable content (e.g., user presses the "done" button on the keyboard).
final
onFieldSubmitted → (dynamic Function(String)?)
Called when field content is submitted.
final
onSaved → (void Function(String?)?)
An optional method to call with the final value when the form is saved via FormState.save.
final
onTap VoidCallback?
Called for each distinct tap except for every second tap of a double tap.
final
onTapOutside → (void Function(PointerDownEvent)?)
Called for each tap that occurs outside of theTextFieldTapRegion group when the text field is focused.
final
prefixIcon IconData?
Icon presented before the content and within the field.
final
prefixWidget Widget?
Widget presented before the content and within the field.
final
readOnly bool
Whether the text can be changed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style SeniorTextFieldStyle?
Component style settings.
final
textInputAction TextInputAction?
The type of action button to use for the keyboard.
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<SeniorTextFieldPassword>
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