MoonFormTextInputConfiguration class
Constructors
-
MoonFormTextInputConfiguration({bool hasFloatingLabel = false, BorderRadiusGeometry? borderRadius, Color? backgroundColor, Color? activeBorderColor, Color? errorBorderColor, Color? inactiveBorderColor, Color? errorColor, Color? hoverBorderColor, Color? textColor, Color? hintTextColor, Decoration? decoration, double? gap, double? height, double? width, Duration? transitionDuration, Curve? transitionCurve, EdgeInsetsGeometry? padding, EdgeInsetsGeometry? helperPadding, MoonFormTextInputValidationStatusCallback? validationStatusCallback, MoonTextInputSize? textInputSize, String? errorText, String? hintText, String? initialValue, TextStyle? helperTextStyle, MoonTextInputErrorBuilder? errorBuilder, Widget? leading, Widget? trailing, Widget? helper, TextEditingController? controller, FocusNode? focusNode, UndoHistoryController? undoController, TextInputType? keyboardType, TextInputAction? textInputAction, TextCapitalization textCapitalization = TextCapitalization.none, TextStyle? style, StrutStyle? strutStyle, TextAlign textAlign = TextAlign.start, TextAlignVertical? textAlignVertical, TextDirection? textDirection, bool readOnly = false, bool? showCursor, bool autofocus = false, String obscuringCharacter = '•', bool obscureText = false, bool autocorrect = true, SmartDashesType? smartDashesType, SmartQuotesType? smartQuotesType, bool enableSuggestions = true, int? maxLines = 1, int? minLines, bool expands = false, int? maxLength, MaxLengthEnforcement? maxLengthEnforcement, ValueChanged<
String> ? onChanged, VoidCallback? onEditingComplete, ValueChanged<String> ? onSubmitted, AppPrivateCommandCallback? onAppPrivateCommand, List<TextInputFormatter> ? inputFormatters, bool enabled = true, double cursorWidth = 2.0, double? cursorHeight, Radius? cursorRadius, bool? cursorOpacityAnimates, Color? cursorColor, Color? cursorErrorColor, BoxHeightStyle selectionHeightStyle = ui.BoxHeightStyle.tight, BoxWidthStyle selectionWidthStyle = ui.BoxWidthStyle.tight, Brightness? keyboardAppearance, EdgeInsets scrollPadding = const EdgeInsets.all(20.0), DragStartBehavior dragStartBehavior = DragStartBehavior.start, bool? enableInteractiveSelection, TextSelectionControls? selectionControls, GestureTapCallback? onTap, bool onTapAlwaysCalled = false, TapRegionCallback? onTapOutside, MouseCursor? mouseCursor, ScrollController? scrollController, ScrollPhysics? scrollPhysics, Iterable<String> ? autofillHints = const <String>[], ContentInsertionConfiguration? contentInsertionConfiguration, Clip clipBehavior = Clip.hardEdge, String? restorationId, bool scribbleEnabled = true, bool enableIMEPersonalizedLearning = true, EditableTextContextMenuBuilder? contextMenuBuilder = MoonFormTextInput.defaultContextMenuBuilder, bool canRequestFocus = true, SpellCheckConfiguration? spellCheckConfiguration, TextMagnifierConfiguration? magnifierConfiguration, FormFieldSetter<String> ? onSaved, FormFieldValidator<String> ? validator, AutovalidateMode autovalidateMode = AutovalidateMode.disabled}) -
const
Properties
- activeBorderColor → Color?
-
final
- autocorrect → bool
-
final
-
autofillHints
→ Iterable<
String> ? -
final
- autofocus → bool
-
final
- autovalidateMode → AutovalidateMode
-
final
- backgroundColor → Color?
-
final
- borderRadius → BorderRadiusGeometry?
-
final
- canRequestFocus → bool
-
final
- clipBehavior → Clip
-
final
- contentInsertionConfiguration → ContentInsertionConfiguration?
-
final
- contextMenuBuilder → EditableTextContextMenuBuilder?
-
final
- controller → TextEditingController?
-
final
- cursorColor → Color?
-
final
- cursorErrorColor → Color?
-
final
- cursorHeight → double?
-
final
- cursorOpacityAnimates → bool?
-
final
- cursorRadius → Radius?
-
final
- cursorWidth → double
-
final
- decoration → Decoration?
-
final
- dragStartBehavior → DragStartBehavior
-
final
- enabled → bool
-
final
- enableIMEPersonalizedLearning → bool
-
final
- enableInteractiveSelection → bool
-
final
- enableSuggestions → bool
-
final
- errorBorderColor → Color?
-
final
- errorBuilder → MoonTextInputErrorBuilder?
-
final
- errorColor → Color?
-
final
- errorText → String?
-
final
- expands → bool
-
final
- focusNode → FocusNode?
-
final
- gap → double?
-
final
- hasFloatingLabel → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
final
- helper → Widget?
-
final
- helperPadding → EdgeInsetsGeometry?
-
final
- helperTextStyle → TextStyle?
-
final
- hintText → String?
-
final
- hintTextColor → Color?
-
final
- hoverBorderColor → Color?
-
final
- inactiveBorderColor → Color?
-
final
- initialValue → String?
-
final
-
inputFormatters
→ List<
TextInputFormatter> ? -
final
- keyboardAppearance → Brightness?
-
final
- keyboardType → TextInputType
-
final
- leading → Widget?
-
final
- magnifierConfiguration → TextMagnifierConfiguration?
-
final
- maxLength → int?
-
final
- maxLengthEnforcement → MaxLengthEnforcement?
-
final
- maxLines → int?
-
final
- minLines → int?
-
final
- mouseCursor → MouseCursor?
-
final
- obscureText → bool
-
final
- obscuringCharacter → String
-
final
- onAppPrivateCommand → AppPrivateCommandCallback?
-
final
-
onChanged
→ ValueChanged<
String> ? -
final
- onEditingComplete → VoidCallback?
-
final
-
onSaved
→ FormFieldSetter<
String> ? -
final
-
onSubmitted
→ ValueChanged<
String> ? -
final
- onTap → GestureTapCallback?
-
final
- onTapAlwaysCalled → bool
-
final
- onTapOutside → TapRegionCallback?
-
final
- padding → EdgeInsetsGeometry?
-
final
- readOnly → bool
-
final
- restorationId → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scribbleEnabled → bool
-
final
- 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
- spellCheckConfiguration → SpellCheckConfiguration?
-
final
- strutStyle → StrutStyle?
-
final
- style → TextStyle?
-
final
- textAlign → TextAlign
-
final
- textAlignVertical → TextAlignVertical?
-
final
- textCapitalization → TextCapitalization
-
final
- textColor → Color?
-
final
- textDirection → TextDirection?
-
final
- textInputAction → TextInputAction?
-
final
- textInputSize → MoonTextInputSize?
-
final
- trailing → Widget?
-
final
- transitionCurve → Curve?
-
final
- transitionDuration → Duration?
-
final
- undoController → UndoHistoryController?
-
final
- validationStatusCallback → MoonFormTextInputValidationStatusCallback?
-
final
-
validator
→ FormFieldValidator<
String> ? -
final
- width → double?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited