SparkTextField class

Inheritance

Constructors

SparkTextField({Key? key, required FormGroupItem manage, String? initialValue, TextInputType? keyboardType, TextInputAction? textInputAction, TextStyle? style, StrutStyle? strutStyle, TextDirection? textDirection, TextAlignVertical? textAlignVertical, ToolbarOptions? toolbarOptions, 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, List<TextInputFormatter>? inputFormatters, double? cursorHeight, Radius? cursorRadius, Color? cursorColor, Brightness? keyboardAppearance, TextSelectionControls? selectionControls, InputCounterWidgetBuilder? buildCounter, ScrollPhysics? scrollPhysics, Iterable<String>? autoFillHints, AutovalidateMode? autoValidateMode, ScrollController? scrollController, TextCapitalization? textCapitalization, bool? autoFocus, bool? readOnly, String? obscuringCharacter, bool? obscureText, bool? autoCorrect, bool? enableSuggestions, int? maxLines, bool? expands, double? cursorWidth, EdgeInsets? scrollPadding, bool? enableIMEPersonalizedLearning, bool? enableInteractiveSelection, double? width, Widget? suffix, Widget? prefix, bool? clearable, Widget? clearableWidget, bool? keepClearableVisible, Size? clearableSize, EdgeInsets? contentPadding, BoxConstraints? constraints, String? hitText, TextStyle? hitTextStyle, String? counterText, bool? showCounter, TextStyle? counterStyle, TextAlign? textAlign, bool autoSelectionPosition = true, Function? onFocus, bool enabled = true})
const

Properties

autoCorrect bool?
final
autoFillHints Iterable<String>?
final
autoFocus bool?
final
autoSelectionPosition bool
final
autoValidateMode AutovalidateMode?
final
buildCounter InputCounterWidgetBuilder?
final
clearable bool?
final
clearableSize Size?
final
clearableWidget Widget?
final
constraints BoxConstraints?
final
contentPadding EdgeInsets?
final
counterStyle TextStyle?
final
counterText String?
final
cursorColor Color?
final
cursorHeight double?
final
cursorRadius Radius?
final
cursorWidth double?
final
enabled bool
finalinherited
enableIMEPersonalizedLearning bool?
final
enableInteractiveSelection bool?
final
enableSuggestions bool?
final
expands bool?
final
hashCode int
The hash code for this object.
no setterinherited
hitText String?
final
hitTextStyle TextStyle?
final
initialValue String?
final
inputFormatters List<TextInputFormatter>?
final
keepClearableVisible bool?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardAppearance Brightness?
final
keyboardType TextInputType?
final
manage FormGroupItem
finalinherited
maxLength int?
final
maxLengthEnforcement MaxLengthEnforcement?
final
maxLines int?
final
minLines int?
final
obscureText bool?
final
obscuringCharacter String?
final
onChanged ValueChanged<String>?
final
onEditingComplete VoidCallback?
final
onFieldSubmitted ValueChanged<String>?
final
onFocus Function?
final
onSaved FormFieldSetter<String>?
final
onTap GestureTapCallback?
final
prefix Widget?
final
readOnly bool?
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
showCounter bool?
final
showCursor bool?
final
smartDashesType SmartDashesType?
final
smartQuotesType SmartQuotesType?
final
strutStyle StrutStyle?
final
style TextStyle?
final
suffix Widget?
final
textAlign TextAlign?
final
textAlignVertical TextAlignVertical?
final
textCapitalization TextCapitalization?
final
textDirection TextDirection?
final
textInputAction TextInputAction?
final
toolbarOptions ToolbarOptions?
final
validator FormFieldValidator<String>?
final
width double?
final

Methods

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