FxTextField class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- FxTextField
Constructors
-
FxTextField({TextEditingController? controller, FocusNode? focusNode, InputDecoration? decoration, TextInputType? keyboardType, TextInputAction? textInputAction, TextCapitalization? textCapitalization, TextStyle? style, StrutStyle? strutStyle, TextAlign? textAlign, TextAlignVertical? textAlignVertical, TextDirection? textDirection, bool? autofocus, String? obscuringCharacter, bool? obscureText, bool? autocorrect, SmartDashesType? smartDashesType, SmartQuotesType? smartQuotesType, bool? enableSuggestions, Brightness? keyboardAppearance, int? maxLines, int? minLines, bool? expands, bool? readOnly, Widget contextMenuBuilder(BuildContext, EditableTextState)?, bool? showCursor, int? maxLength, MaxLengthEnforcement? maxLengthEnforcement, ValueChanged<
String> ? onChanged, VoidCallback? onEditingComplete, ValueChanged<String> ? onSubmitted, AppPrivateCommandCallback? onAppPrivateCommand, List<TextInputFormatter> ? inputFormatters, bool? enabled, double? cursorWidth, double? cursorHeight, Radius? cursorRadius, Color? cursorColor, BoxHeightStyle? selectionHeightStyle, BoxWidthStyle? selectionWidthStyle, EdgeInsets? scrollPadding, bool? enableInteractiveSelection, TextSelectionControls? selectionControls, DragStartBehavior? dragStartBehavior, GestureTapCallback? onTap, MouseCursor? mouseCursor, InputCounterWidgetBuilder? buildCounter, ScrollPhysics? scrollPhysics, ScrollController? scrollController, Iterable<String> ? autofillHints, String? restorationId, Widget? icon, String? labelText, TextStyle? labelStyle, String? helperText, TextStyle? helperStyle, int? helperMaxLines, String? hintText, TextStyle? hintStyle, TextDirection? hintTextDirection, int? hintMaxLines, String? errorText, TextStyle? errorStyle, int? errorMaxLines, FloatingLabelBehavior? floatingLabelBehavior, bool? isCollapsed, bool? isDense, EdgeInsetsGeometry? contentPadding, Widget? prefixIcon, BoxConstraints? prefixIconConstraints, Widget? prefix, String? prefixText, TextStyle? prefixStyle, Widget? suffixIcon, Widget? suffix, String? suffixText, TextStyle? suffixStyle, BoxConstraints? suffixIconConstraints, Widget? counter, String? counterText, TextStyle? counterStyle, bool? filled, Color? fillColor, Color? focusColor, Color? hoverColor, InputBorder? errorBorder, InputBorder? focusedBorder, InputBorder? focusedErrorBorder, InputBorder? disabledBorder, InputBorder? enabledBorder, InputBorder? border, bool? textEnabled, String? semanticCounterText, bool? alignLabelWithHint, FxTextFieldType textFieldType = FxTextFieldType.name, FxTextFieldStyle textFieldStyle = FxTextFieldStyle.outlined, bool? autoIcon, Color? enabledBorderColor, Color? focusedBorderColor, double? enabledBorderRadius, double? focusedBorderRadius, Color? labelTextColor, Color? prefixIconColor, Color? suffixIconColor, bool? autoFocusedBorder, bool enableHint = true, Color? textColor, bool? allowSuffixIcon})
Properties
- alignLabelWithHint → bool?
-
final
- allowSuffixIcon → bool?
-
final
- autocorrect → bool?
-
final
-
autofillHints
→ Iterable<
String> ? -
final
- autofocus → bool?
-
final
- autoFocusedBorder → bool?
-
final
- autoIcon → bool?
-
final
- border → InputBorder?
-
final
- buildCounter → InputCounterWidgetBuilder?
-
final
- contentPadding → EdgeInsetsGeometry?
-
final
- contextMenuBuilder → Widget Function(BuildContext, EditableTextState)?
-
final
- controller → TextEditingController?
-
final
- counter → Widget?
-
final
- counterStyle → TextStyle?
-
final
- counterText → String?
-
final
- cursorColor → Color?
-
final
- cursorHeight → double?
-
final
- cursorRadius → Radius?
-
final
- cursorWidth → double?
-
final
- decoration → InputDecoration?
-
final
- disabledBorder → InputBorder?
-
final
- dragStartBehavior → DragStartBehavior?
-
final
- enabled → bool?
-
final
- enabledBorder → InputBorder?
-
final
- enabledBorderColor → Color?
-
final
- enabledBorderRadius → double?
-
final
- enableHint → bool
-
final
- enableInteractiveSelection → bool?
-
final
- enableSuggestions → bool?
-
final
- errorBorder → InputBorder?
-
final
- errorMaxLines → int?
-
final
- errorStyle → TextStyle?
-
final
- errorText → String?
-
final
- expands → bool?
-
final
- fillColor → Color?
-
final
- filled → bool?
-
final
- floatingLabelBehavior → FloatingLabelBehavior?
-
final
- focusColor → Color?
-
final
- focusedBorder → InputBorder?
-
final
- focusedBorderColor → Color?
-
final
- focusedBorderRadius → double?
-
final
- focusedErrorBorder → InputBorder?
-
final
- focusNode → FocusNode?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- helperMaxLines → int?
-
final
- helperStyle → TextStyle?
-
final
- helperText → String?
-
final
- hintMaxLines → int?
-
final
- hintStyle → TextStyle?
-
final
- hintText → String?
-
final
- hintTextDirection → TextDirection?
-
final
- hoverColor → Color?
-
final
- icon → Widget?
-
final
-
inputFormatters
→ List<
TextInputFormatter> ? -
final
- isCollapsed → bool?
-
final
- isDense → bool?
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- keyboardAppearance → Brightness?
-
final
- keyboardType → TextInputType?
-
final
- labelStyle → TextStyle?
-
final
- labelText → String?
-
final
- labelTextColor → Color?
-
final
- maxLength → int?
-
final
- maxLengthEnforcement → MaxLengthEnforcement?
-
final
- maxLines → int?
-
final
- minLines → int?
-
final
- mouseCursor → MouseCursor?
-
final
- noMaxLength → int?
-
final
- obscureText → bool?
-
final
- obscuringCharacter → String?
-
final
- onAppPrivateCommand → AppPrivateCommandCallback?
-
final
-
onChanged
→ ValueChanged<
String> ? -
final
- onEditingComplete → VoidCallback?
-
final
-
onSubmitted
→ ValueChanged<
String> ? -
final
- onTap → GestureTapCallback?
-
final
- prefix → Widget?
-
final
- prefixIcon → Widget?
-
final
- prefixIconColor → Color?
-
final
- prefixIconConstraints → BoxConstraints?
-
final
- prefixStyle → TextStyle?
-
final
- prefixText → String?
-
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
- selectionEnabled → bool?
-
no setter
- selectionHeightStyle → BoxHeightStyle?
-
final
- selectionWidthStyle → BoxWidthStyle?
-
final
- semanticCounterText → String?
-
final
- showCursor → bool?
-
final
- smartDashesType → SmartDashesType?
-
final
- smartQuotesType → SmartQuotesType?
-
final
- strutStyle → StrutStyle?
-
final
- style → TextStyle?
-
final
- suffix → Widget?
-
final
- suffixIcon → Widget?
-
final
- suffixIconColor → Color?
-
final
- suffixIconConstraints → BoxConstraints?
-
final
- suffixStyle → TextStyle?
-
final
- suffixText → String?
-
final
- textAlign → TextAlign?
-
final
- textAlignVertical → TextAlignVertical?
-
final
- textCapitalization → TextCapitalization?
-
final
- textColor → Color?
-
final
- textDirection → TextDirection?
-
final
- textEnabled → bool?
-
final
- textFieldStyle → FxTextFieldStyle
-
final
- textFieldType → FxTextFieldType
-
final
- textInputAction → TextInputAction?
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _FxTextFieldState -
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