PasswordValidatedFields class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- PasswordValidatedFields
Constructors
- PasswordValidatedFields({Key? key, InputDecoration? inputDecoration = const InputDecoration(hintText: "Enter password", prefixIcon: Icon(Icons.lock), border: OutlineInputBorder()), TextEditingController? textEditingController, TextInputAction? textInputAction = TextInputAction.done, void onEditComplete()?, String onFieldSubmitted(String)?, FocusNode? focusNode, Color? cursorColor, TextStyle? textStyle, IconData? inActiveIcon = Icons.check_circle_outline_rounded, IconData? activeIcon = Icons.check_circle_rounded, Color? inActiveRequirementColor = Colors.grey, Color? activeRequirementColor = Colors.blue})
- Constructor
Properties
- activeIcon → IconData?
-
Password requirements attributes
iconData for the icons when requirement is completed
final
- activeRequirementColor → Color?
-
color of the text when requirement is completed
final
- cursorColor → Color?
-
cursorColor
final
- focusNode → FocusNode?
-
focusNode for the field
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inActiveIcon → IconData?
-
iconData for the icons when the requirement is incomplete/inActive
final
- inActiveRequirementColor → Color?
-
color of the text when the requirement is not completed/inActive
final
- inputDecoration → InputDecoration?
-
Password
validation
is given at the bottom which can bemodified
accordingly. Full package can be modified easily Input decoration of Text field by default it is OutlineInputBorderfinal - key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onEditComplete → (void Function()?)
-
onEditComplete callBack for the field
final
- onFieldSubmitted → (String Function(String)?)
-
onFieldSubmitted callBack for the field
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textEditingController → TextEditingController?
-
textEditingController for the field
final
- textInputAction → TextInputAction?
-
textInputAction for the field. By default its set to
done
final - textStyle → TextStyle?
-
textStyle of the Text in field
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _PasswordValidatedFieldsState -
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