PasswordField class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- PasswordField
Constructors
-
PasswordField({Key? key, String? label, TextStyle? labelStyle, Iterable<
String> ? autofillHints = const [], String? hintText, FocusNode? focusNode, String? errorText, bool enabled = true, bool? filled, TextEditingController? controller, List<InputFeedbackText> ? feedback, Color? iconColor, void onChanged(String value)?, double maxWidth = 342, WrapWidgetBuilder? wrapInnerBox, InputDecoration decoration(BuildContext context, Widget icon)?, bool overrideDecoration = false, bool forceErrorStyle = false}) -
const
Properties
-
autofillHints
→ Iterable<
String> ? -
final
- controller → TextEditingController?
-
final
- decoration → InputDecoration Function(BuildContext context, Widget icon)?
-
Provides a way to override default input decoration styles
by default if you only provide this value it will merge your style definition with default
if you want to relay completely on your styling set overrideDecoration to
true
This function provides you access to default obscure iconfinal - enabled → bool
-
final
- errorText → String?
-
final
-
feedback
→ List<
InputFeedbackText> ? -
final
- filled → bool?
-
final
- focusNode → FocusNode?
-
final
- forceErrorStyle → bool
-
Provides a way to force error style (normally red colored)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hintText → String?
-
final
- iconColor → Color?
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- label → String?
-
final
- labelStyle → TextStyle?
-
Define a custom style to be used in the label of the field
final
- maxWidth → double
-
Define max width constraints for this field
by default is
343
final - onChanged → void Function(String value)?
-
final
- overrideDecoration → bool
-
Check decoration property for more info
defaults to
false
final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wrapInnerBox → WrapWidgetBuilder?
-
Defines a custom builder widget that will wrap the TexField inner box
This is useful to for example wrap your widget inside a Material elevation, etc
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → PasswordFieldState -
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