CardSettingsCurrency class

This is a currency field.

Inheritance
Implemented types

Constructors

CardSettingsCurrency({Key? key, String label = 'Label', TextAlign? labelAlign, double? labelWidth, TextAlign? contentAlign, double initialValue = 0.0, Icon? icon, Widget? requiredIndicator, String currencySymbol = '\$', String currencyName = 'USD', String decimalSeparator = '.', String thousandSeparator = ',', int maxLength = 16, bool visible = true, bool enabled = true, bool autofocus = false, bool obscureText = false, AutovalidateMode autovalidateMode = AutovalidateMode.onUserInteraction, FormFieldValidator<double>? validator, FormFieldSetter<double>? onSaved, ValueChanged<double?>? onChanged, TextEditingController? controller, FocusNode? focusNode, TextInputAction? inputAction, FocusNode? inputActionNode, TextInputType? keyboardType, TextStyle? style, MaxLengthEnforcement? maxLengthEnforcement = MaxLengthEnforcement.enforced, ValueChanged<String>? onFieldSubmitted, List<TextInputFormatter>? inputFormatters, bool? showMaterialonIOS, EdgeInsetsGeometry? fieldPadding, Locale? locale})

Properties

autofocus bool
final
autovalidateMode AutovalidateMode
final
contentAlign TextAlign?
controls how the widget in the content area of the field is aligned
final
controller TextEditingController?
final
currencyName String
the name of the currency. E.g. USD
final
currencySymbol String
The symbol to use for the currency
final
decimalSeparator String
the character to use for decimal separation
final
enabled bool
If false, grays out the field and makes it unresponsive
final
fieldPadding EdgeInsetsGeometry?
final
focusNode FocusNode?
final
hashCode int
The hash code for this object.
no setterinherited
icon Icon?
The icon to display to the left of the field content
final
initialValue double
The initial value to display
final
inputAction TextInputAction?
final
inputActionNode FocusNode?
final
inputFormatters List<TextInputFormatter>?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardType TextInputType?
final
label String
The text to identify the field to the user
final
labelAlign TextAlign?
The alignment of the label paret of the field. Default is left.
final
labelWidth double?
The width of the field label. If provided overrides the global setting.
final
locale Locale?
final
maxLength int
The maxinum length of the value in characters
final
maxLengthEnforcement MaxLengthEnforcement?
final
obscureText bool
final
onChanged ValueChanged<double?>?
final
onFieldSubmitted ValueChanged<String>?
final
onSaved FormFieldSetter<double>?
final
requiredIndicator Widget?
A widget to show next to the label if the field is required
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showMaterialonIOS bool?
final
style TextStyle?
final
thousandSeparator String
the character to use for the thousands place.
final
validator FormFieldValidator<double>?
final
visible bool
If false hides the widget on the card setting panel
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _CardSettingsCurrencyState
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, int wrapWidth = 65}) 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