NeumorphicPasswordField class

A password's field: the text field with its eye, hidden until asked, and autofill told what it holds.

NeumorphicPasswordField(label: 'Password', onChanged: setPassword)
Inheritance

Constructors

NeumorphicPasswordField({Key? key, TextEditingController? controller, String? label, String? hint, String? helper, String? error, ValueChanged<String>? onChanged, ValueChanged<String>? onSubmitted, TextInputAction? textInputAction, FocusNode? focusNode, bool autofocus = false, bool enabled = true, bool newPassword = false, NeumorphicStyle? style})
Creates a NeumorphicPasswordField.
const

Properties

autofocus → bool
Whether it asks for focus when first shown.
final
controller → TextEditingController?
An optional caller-owned controller.
final
enabled → bool
Whether the field takes input.
final
error → String?
Validation words; non-null marks the field invalid.
final
focusNode → FocusNode?
An optional caller-owned focus node.
final
hashCode → int
The hash code for this object.
no setterinherited
helper → String?
Supporting words under the field.
final
hint → String?
Placeholder words.
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
label → String?
The words above the field, and its spoken name.
final
newPassword → bool
Whether this is a new password (autofill offers to make one) rather than the current one.
final
onChanged → ValueChanged<String>?
Receives each edit.
final
onSubmitted → ValueChanged<String>?
Receives the text when the keyboard submits it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
style → NeumorphicStyle?
Visual slots before the text-field component theme.
final
textInputAction → TextInputAction?
The keyboard's action key.
final

Methods

build(BuildContext context) → Widget
Describes the part of the user interface represented by this widget.
override
createElement() → StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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, int wrapWidth = 65}) → 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