FancyPasswordField class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- FancyPasswordField
Constructors
-
FancyPasswordField({Key? key, ValueChanged<
String> ? onChanged, FormFieldSetter<String> ? onSaved, FormFieldValidator<String> ? validator, InputDecoration? decoration, TextEditingController? controller, Set<ValidationRule> validationRules = const {}, bool hasShowHidePassword = true, Icon? showPasswordIcon, Icon? hidePasswordIcon, Widget? showPasswordWidget, Widget? hidePasswordWidget, bool hasStrengthIndicator = true, StrengthIndicatorBuilder? strengthIndicatorBuilder, bool hasValidationRules = true, ValidationRulesBuilder? validationRuleBuilder, FancyPasswordController? passwordController, String? identifier, String? semanticsLabel, String? initialValue, FocusNode? focusNode, TextInputType? keyboardType, TextCapitalization textCapitalization = TextCapitalization.none, TextInputAction? textInputAction, TextStyle? style, StrutStyle? strutStyle, TextDirection? textDirection, TextAlign textAlign = TextAlign.start, TextAlignVertical? textAlignVertical, bool autofocus = false, bool readOnly = false, bool? showCursor, String obscuringCharacter = '•', bool autocorrect = true, SmartDashesType? smartDashesType, SmartQuotesType? smartQuotesType, bool enableSuggestions = true, MaxLengthEnforcement? maxLengthEnforcement, int? maxLines = 1, int? minLines, bool expands = false, int? maxLength, GestureTapCallback? onTap, VoidCallback? onEditingComplete, ValueChanged<String> ? onFieldSubmitted, List<TextInputFormatter> ? inputFormatters, bool? enabled, double cursorWidth = 2.0, double? cursorHeight, Radius? cursorRadius, Color? cursorColor, Brightness? keyboardAppearance, EdgeInsets scrollPadding = const EdgeInsets.all(20.0), bool enableInteractiveSelection = true, TextSelectionControls? selectionControls, InputCounterWidgetBuilder? buildCounter, ScrollPhysics? scrollPhysics, Iterable<String> ? autofillHints, AutovalidateMode? autovalidateMode, ScrollController? scrollController, String? restorationId, bool enableIMEPersonalizedLearning = true, bool? obscureText}) -
const
Properties
- autocorrect → bool
-
Property of TextFormField
final
-
autofillHints
→ Iterable<
String> ? -
Property of TextFormField
final
- autofocus → bool
-
Property of TextFormField
final
- autovalidateMode → AutovalidateMode?
-
Property of TextFormField
final
- buildCounter → InputCounterWidgetBuilder?
-
Property of TextFormField
final
- controller → TextEditingController?
-
Property of TextFormField
final
- cursorColor → Color?
-
Property of TextFormField
final
- cursorHeight → double?
-
Property of TextFormField
final
- cursorRadius → Radius?
-
Property of TextFormField
final
- cursorWidth → double
-
Property of TextFormField
final
- decoration → InputDecoration?
-
Similarly of the decoration property of the TextFormField.
final
- enabled → bool?
-
Property of TextFormField
final
- enableIMEPersonalizedLearning → bool
-
Property of TextFormField
final
- enableInteractiveSelection → bool
-
Property of TextFormField
final
- enableSuggestions → bool
-
Property of TextFormField
final
- expands → bool
-
Property of TextFormField
final
- focusNode → FocusNode?
-
Property of TextFormField
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasShowHidePassword → bool
-
Indicates wether the widget will have Show/Hide password feature.
final
- hasStrengthIndicator → bool
-
Wether the widget will show the
StrengthIndicatorWidget
final - hasValidationRules → bool
-
Wether the widget will show the
ValidationRulesWidget
final - hidePasswordIcon → Icon?
-
The Icon that will be displayed to hide the password.
final
- hidePasswordWidget → Widget?
-
The Widget that will be displayed to hide the password. This field can only be used when the hidePasswordIcon field is null.
final
- identifier → String?
-
Provides an identifier for the semantics node in native accessibility hierarchy.
This value is not exposed to the users of the app.
It's usually used for UI testing with tools that work by querying the native accessibility, like UIAutomator, XCUITest, or Appium.
On Android, this is used for AccessibilityNodeInfo.setViewIdResourceName. It'll be appear in accessibility hierarchy as resource-id.
On iOS, this will set UIAccessibilityElement.accessibilityIdentifier.
final
- initialValue → String?
-
Property of TextFormField
final
-
inputFormatters
→ List<
TextInputFormatter> ? -
Property of TextFormField
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- keyboardAppearance → Brightness?
-
Property of TextFormField
final
- keyboardType → TextInputType?
-
Property of TextFormField
final
- maxLength → int?
-
Property of TextFormField
final
- maxLengthEnforcement → MaxLengthEnforcement?
-
Property of TextFormField
final
- maxLines → int?
-
Property of TextFormField
final
- minLines → int?
-
Property of TextFormField
final
- obscureText → bool?
-
Property of TextFormField
final
- obscuringCharacter → String
-
Property of TextFormField
final
-
onChanged
→ ValueChanged<
String> ? -
Similarly of the onChanged property of the TextFormField.
final
- onEditingComplete → VoidCallback?
-
Property of TextFormField
final
-
onFieldSubmitted
→ ValueChanged<
String> ? -
Property of TextFormField
final
-
onSaved
→ FormFieldSetter<
String> ? -
Similarly of the onSaved property of the TextFormField.
final
- onTap → GestureTapCallback?
-
Property of TextFormField
final
- passwordController → FancyPasswordController?
-
Instance of FancyPasswordController.
final
- readOnly → bool
-
Property of TextFormField
final
- restorationId → String?
-
Property of TextFormField
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollController → ScrollController?
-
Property of TextFormField
final
- scrollPadding → EdgeInsets
-
Property of TextFormField
final
- scrollPhysics → ScrollPhysics?
-
Property of TextFormField
final
- selectionControls → TextSelectionControls?
-
Property of TextFormField
final
- semanticsLabel → String?
-
Provides a textual description of the widget when using TalkBack and VoiceOver.
final
- showCursor → bool?
-
Property of TextFormField
final
- showPasswordIcon → Icon?
-
The Icon that will be displayed to show the password. This field can only be used when the showPasswordWidget is null.
final
- showPasswordWidget → Widget?
-
The Widget that will be displayed to show the password. This field can only be used when the showPasswordIcon field is null.
final
- smartDashesType → SmartDashesType?
-
Property of TextFormField
final
- smartQuotesType → SmartQuotesType?
-
Property of TextFormField
final
- strengthIndicatorBuilder → StrengthIndicatorBuilder?
-
A builder to build a widget that will correspond to a strength indicator.
final
- strutStyle → StrutStyle?
-
Property of TextFormField
final
- style → TextStyle?
-
Property of TextFormField
final
- textAlign → TextAlign
-
Property of TextFormField
final
- textAlignVertical → TextAlignVertical?
-
Property of TextFormField
final
- textCapitalization → TextCapitalization
-
Property of TextFormField
final
- textDirection → TextDirection?
-
Property of TextFormField
final
- textInputAction → TextInputAction?
-
Property of TextFormField
final
- validationRuleBuilder → ValidationRulesBuilder?
-
A builder to build a widget that will show the validation rules.
final
-
validationRules
→ Set<
ValidationRule> -
Set of
ValidationRule
rules.final -
validator
→ FormFieldValidator<
String> ? -
Similarly of the validator property of the TextFormField.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< FancyPasswordField> -
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