FlutterPasswordCalculator class

Inheritance

Constructors

FlutterPasswordCalculator({Key? key, ValueChanged<String>? onChanged, FormFieldSetter<String>? onSaved, FormFieldValidator<String>? validator, InputDecoration? decoration, BoxDecoration? boxDecoration, TextEditingController? controller, Set<ValidationRule> validationRules = const {}, bool hasShowHidePassword = true, IconData? showPasswordIcon, IconData? hidePasswordIcon, bool hasStrengthIndicator = true, StrengthIndicatorBuilder? strengthIndicatorBuilder, bool hasValidationRules = true, ValidationRulesBuilder? validationRuleBuilder, FlutterPasswordCalculatorController? passwordController, 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, ToolbarOptions? toolbarOptions, 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
boxDecoration BoxDecoration?
Similarly of the decoration property of the Container.
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 IconData?
The IconData that will be displayed to hide the password.
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 FlutterPasswordCalculatorController?
Instance of FlutterPasswordCalculatorController.
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
showCursor bool?
Property of TextFormField
final
showPasswordIcon IconData?
The IconData that will be displayed to show the password Only has effect if hasShowHidePassword is set true.
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
toolbarOptions ToolbarOptions?
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<FlutterPasswordCalculator>
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