TextFieldRF class

Inheritance

Constructors

TextFieldRF.new({Object? model, required String field, TextInputType? inputType, int? maxLength, int maxLines = 1, String? hintText, TextStyle? hintStyle, String? hint, String? label, String? caption, FormFieldSetter<String>? onSaved, FormFieldValidator<String>? validator, bool enabled = true, ValueChanged<String>? onFieldSubmitted, Function? validator1, Function? onChange, Color? backgroundColor, Color? textColor, Color? borderColor, double? fontSize, double? borderWidth, double? borderRadius, WidgetStyleRF? widgetStyle, String? fontFamily, TextStyle? textStyle, TextAlign textAlign = TextAlign.start, TextAlignVertical? textAlignVertical, TextDirection? textDirection, TextCapitalization textCapitalization = TextCapitalization.none, TextInputAction? textInputAction, bool autocorrect = true, Iterable<String>? autofillHints, bool autofocus = false, bool obscureText = false, Color? cursorColor, double? cursorHeight, Radius? cursorRadius, double cursorWidth = 2.0, bool expands = false, DragStartBehavior dragStartBehavior = DragStartBehavior.start, List<TextInputFormatter>? inputFormatters, dynamic onTap()?, bool enableInteractiveSelection = true, bool enableSuggestions = true, Brightness? keyboardAppearance, int? minLines, MouseCursor? mouseCursor, ScrollController? scrollController, MaxLengthEnforcement? maxLengthEnforcement, String obscuringCharacter = '•', bool? readOnly = false, EdgeInsets scrollPadding = const EdgeInsets.all(20.0), ScrollPhysics? scrollPhysics, AppPrivateCommandCallback? onAppPrivateCommand, dynamic onEditingComplete()?, dynamic onSubmitted(String?)?, String? restorationId, bool? showCursor, InputCounterWidgetBuilder? buildCounter, TextSelectionControls? selectionControls, BoxHeightStyle selectionHeightStyle = BoxHeightStyle.tight, BoxWidthStyle selectionWidthStyle = BoxWidthStyle.tight, SmartDashesType? smartDashesType, bool enableIMEPersonalizedLearning = true, SmartQuotesType? smartQuotesType, StrutStyle? strutStyle, ToolbarOptions? toolbarOptions, Widget? prefixIcon, Widget? suffixIcon, InputDecoration? inputDecoration, BoxDecoration? decoration, Widget? placeholder, EdgeInsets padding = const EdgeInsets.only(left: 8, right: 8, top: 2), InputBorder? inputBorder})

Properties

autocorrect bool
final
autofillHints Iterable<String>?
final
autofocus bool
final
backgroundColor Color?
final
borderColor Color?
final
borderRadius double?
final
borderWidth double?
final
buildCounter InputCounterWidgetBuilder?
final
caption String?
final
cursorColor Color?
final
cursorHeight double?
final
cursorRadius Radius?
final
cursorWidth double
final
decoration BoxDecoration?
final
dragStartBehavior DragStartBehavior
final
enabled bool
final
enableIMEPersonalizedLearning bool
final
enableInteractiveSelection bool
final
enableSuggestions bool
final
expands bool
final
field String
final
fontFamily String?
final
fontSize double?
final
hashCode int
The hash code for this object.
no setterinherited
hint String?
final
hintStyle TextStyle?
final
hintText String?
final
inputBorder InputBorder?
getter/setter pair
inputDecoration InputDecoration?
final
inputFormatters List<TextInputFormatter>?
final
inputType TextInputType?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardAppearance Brightness?
final
label String?
final
maxLength int?
final
maxLengthEnforcement MaxLengthEnforcement?
final
maxLines int
final
minLines int?
final
model Object?
final
mouseCursor MouseCursor?
final
obscureText bool
final
obscuringCharacter String
final
onAppPrivateCommand AppPrivateCommandCallback?
final
onChange Function?
final
onEditingComplete → dynamic Function()?
final
onFieldSubmitted ValueChanged<String>?
final
onSaved FormFieldSetter<String>?
final
onSubmitted → dynamic Function(String?)?
final
onTap → dynamic Function()?
final
padding EdgeInsets
final
placeholder Widget?
final
prefixIcon Widget?
final
readOnly bool?
final
restorationId String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollController ScrollController?
final
scrollPadding EdgeInsets
final
scrollPhysics ScrollPhysics?
final
selectionControls TextSelectionControls?
final
selectionHeightStyle BoxHeightStyle
final
selectionWidthStyle BoxWidthStyle
final
showCursor bool?
final
smartDashesType SmartDashesType?
final
smartQuotesType SmartQuotesType?
final
strutStyle StrutStyle?
final
suffixIcon Widget?
final
textAlign TextAlign
final
textAlignVertical TextAlignVertical?
final
textCapitalization TextCapitalization
final
textColor Color?
final
textDirection TextDirection?
final
textInputAction TextInputAction?
final
textStyle TextStyle?
final
toolbarOptions ToolbarOptions?
final
validator FormFieldValidator<String>?
final
validator1 Function?
final
widgetStyle WidgetStyleRF?
final

Methods

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