IntegerTextFormField class

Inheritance

Constructors

IntegerTextFormField({Key? key, FooFieldController<String>? controller, String? initialValue, FocusNode? focusNode, InputDecoration? decoration = const InputDecoration(), TextStyle? style, TextAlign textAlign = TextAlign.start, TextAlignVertical? textAlignVertical, bool autofocus = false, bool readOnly = false, void onChanged(String? value)?, GestureTapCallback? onTap, VoidCallback? onEditingComplete, ValueChanged<String?>? onFieldSubmitted, void onSaved(String? value)?, String? validator(String? value)?, FormFieldErrorBuilder? errorBuilder, bool? enabled, double cursorWidth = 2.0, double? cursorHeight, Radius? cursorRadius, Color? cursorColor, Color? cursorErrorColor, Brightness? keyboardAppearance, EdgeInsets scrollPadding = const EdgeInsets.all(20.0), ScrollPhysics? scrollPhysics, AutovalidateMode? autovalidateMode, DragStartBehavior dragStartBehavior = DragStartBehavior.start, Clip clipBehavior = Clip.hardEdge, bool canRequestFocus = true, String invalidIntegerMessage = "Invalid", IntegerTextInputFormatter inputFormatter = const IntegerTextInputFormatter()})
const

Properties

autofocus bool
final
autovalidateMode AutovalidateMode?
final
canRequestFocus bool
final
clipBehavior Clip
final
controller FooFieldController<String>?
finalinherited
cursorColor Color?
final
cursorErrorColor Color?
final
cursorHeight double?
final
cursorRadius Radius?
final
cursorWidth double
final
decoration InputDecoration?
final
dragStartBehavior DragStartBehavior
final
enabled bool?
final
errorBuilder FormFieldErrorBuilder?
final
focusNode FocusNode?
final
hashCode int
The hash code for this object.
no setterinherited
initialValue String?
final
inputFormatter IntegerTextInputFormatter
final
invalidIntegerMessage String
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardAppearance Brightness?
final
onChanged → void Function(String? value)?
final
onEditingComplete VoidCallback?
final
onFieldSubmitted ValueChanged<String?>?
final
onSaved → void Function(String? value)?
final
onTap GestureTapCallback?
final
readOnly bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollPadding EdgeInsets
final
scrollPhysics ScrollPhysics?
final
style TextStyle?
final
textAlign TextAlign
final
textAlignVertical TextAlignVertical?
final
validator String? Function(String? value)?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<IntegerTextFormField>
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