BankAccountTextFormField class

widget to help account validation

Inheritance

Constructors

BankAccountTextFormField({required TextEditingController controller, required int bankCode, required AccountType accountType, required String branchNumber, required String incorrectAccountDigitMenssage, required String invalidInputsMenssage, Key? key, FocusNode? focusNode, bool enableIMEPersonalizedLearning = true, InputDecoration? decoration = const InputDecoration(), EdgeInsets scrollPadding = const EdgeInsets.all(20.0), bool enableInteractiveSelection = true, String obscuringCharacter = '•', bool obscureText = false, bool autocorrect = true, bool enableSuggestions = true, int? maxLines = 1, bool expands = false, double cursorWidth = 2.0, TextAlign textAlign = TextAlign.start, bool autofocus = false, bool readOnly = false, TextCapitalization textCapitalization = TextCapitalization.characters, TextInputType? keyboardType = TextInputType.visiblePassword, String? initialValue, TextInputAction? textInputAction, TextStyle? style, StrutStyle? strutStyle, TextDirection? textDirection, TextAlignVertical? textAlignVertical, bool? showCursor, SmartDashesType? smartDashesType, SmartQuotesType? smartQuotesType, MaxLengthEnforcement? maxLengthEnforcement, int? minLines, int? maxLength, ValueChanged<String>? onChanged, GestureTapCallback? onTap, VoidCallback? onEditingComplete, ValueChanged<String>? onFieldSubmitted, FormFieldSetter<String>? onSaved, FormFieldValidator<String>? validator, bool? enabled, double? cursorHeight, Radius? cursorRadius, Color? cursorColor, Brightness? keyboardAppearance, TextSelectionControls? selectionControls, InputCounterWidgetBuilder? buildCounter, ScrollPhysics? scrollPhysics, Iterable<String>? autofillHints, AutovalidateMode? autovalidateMode, ScrollController? scrollController, String? restorationId, bool notAllowAccountWithOnlyZeros = false, List<TextInputFormatter>? inputFormatters})
@construct BankAccountTextFormField

Properties

accountType AccountType
@var accountType required for validation of some banks
final
autocorrect bool
TextFormField parameter
final
autofillHints Iterable<String>?
TextFormField parameter
final
autofocus bool
TextFormField parameter
final
autovalidateMode AutovalidateMode?
TextFormField parameter
final
bankCode int
@var bankCode required for validation of some banks
final
branchNumber String
@var branchNumber required for validation of some banks
final
buildCounter InputCounterWidgetBuilder?
TextFormField parameter
final
controller TextEditingController
TextFormField parameter
final
cursorColor Color?
TextFormField parameter
final
cursorHeight double?
TextFormField parameter
final
cursorRadius Radius?
TextFormField parameter
final
cursorWidth double
TextFormField parameter
final
decoration InputDecoration?
TextFormField parameter
final
enabled bool?
TextFormField parameter
final
enableIMEPersonalizedLearning bool
TextFormField parameter
final
enableInteractiveSelection bool
TextFormField parameter
final
enableSuggestions bool
TextFormField parameter
final
expands bool
TextFormField parameter
final
focusNode FocusNode?
TextFormField parameter
final
hashCode int
The hash code for this object.
no setterinherited
incorrectAccountDigitMenssage String
@var incorrectAccountDigitMenssage custom error message when account number is not valid
final
initialValue String?
TextFormField parameter
final
inputFormatters List<TextInputFormatter>?
TextFormField parameter
final
invalidInputsMenssage String
@var invalidInputsMenssage custom error message when account number is null or empty
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardAppearance Brightness?
TextFormField parameter
final
keyboardType TextInputType?
TextFormField parameter
final
maxLength int?
TextFormField parameter
final
maxLengthEnforcement MaxLengthEnforcement?
TextFormField parameter
final
maxLines int?
TextFormField parameter
final
minLines int?
TextFormField parameter
final
notAllowAccountWithOnlyZeros bool
TextFormField parameter
final
obscureText bool
TextFormField parameter
final
obscuringCharacter String
TextFormField parameter
final
onChanged ValueChanged<String>?
TextFormField parameter
final
onEditingComplete VoidCallback?
TextFormField parameter
final
onFieldSubmitted ValueChanged<String>?
TextFormField parameter
final
onSaved FormFieldSetter<String>?
TextFormField parameter
final
onTap GestureTapCallback?
TextFormField parameter
final
readOnly bool
TextFormField parameter
final
restorationId String?
TextFormField parameter
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollController ScrollController?
TextFormField parameter
final
scrollPadding EdgeInsets
TextFormField parameter
final
scrollPhysics ScrollPhysics?
TextFormField parameter
final
selectionControls TextSelectionControls?
TextFormField parameter
final
showCursor bool?
TextFormField parameter
final
smartDashesType SmartDashesType?
TextFormField parameter
final
smartQuotesType SmartQuotesType?
TextFormField parameter
final
strutStyle StrutStyle?
TextFormField parameter
final
style TextStyle?
TextFormField parameter
final
textAlign TextAlign
TextFormField parameter
final
textAlignVertical TextAlignVertical?
TextFormField parameter
final
textCapitalization TextCapitalization
TextFormField parameter
final
textDirection TextDirection?
TextFormField parameter
final
textInputAction TextInputAction?
TextFormField parameter
final
validator FormFieldValidator<String>?
TextFormField parameter
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.
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