const
TextFormField(- {Key? key,
- String? initialValue,
- FormStringField? field,
- InputDecoration? decoration,
- TextInputType? keyboardType,
- TextCapitalization textCapitalization,
- TextInputAction? textInputAction,
- TextStyle? style,
- StrutStyle? strutStyle,
- TextDirection? textDirection,
- TextAlign textAlign,
- TextAlignVertical? textAlignVertical,
- bool autofocus,
- bool readOnly,
- bool? showCursor,
- String obscuringCharacter,
- bool obscureText,
- bool autocorrect,
- SmartDashesType? smartDashesType,
- SmartQuotesType? smartQuotesType,
- bool enableSuggestions,
- MaxLengthEnforcement? maxLengthEnforcement,
- int? maxLines,
- int? minLines,
- bool expands,
- int? maxLength,
- Callback? onTap,
- Map<String, String>? validatorMessages,
- Callback? onEditingComplete,
- List<TextInputFormatter>? inputFormatters,
- bool? enabled,
- double cursorWidth,
- double? cursorHeight,
- Radius? cursorRadius,
- Color? cursorColor,
- Brightness? keyboardAppearance,
- EdgeInsets scrollPadding,
- bool? enableInteractiveSelection,
- ScrollPhysics? scrollPhysics,
- Iterable<String>? autofillHints,
- AutovalidateMode? autovalidateMode,
- String? restorationId,
- bool enableIMEPersonalizedLearning,
- MouseCursor? mouseCursor}
)
Implementation
const factory TextFormField(
{final Key? key,
final String? initialValue,
final FormStringField? field,
final InputDecoration? decoration,
final TextInputType? keyboardType,
final TextCapitalization textCapitalization,
final TextInputAction? textInputAction,
final TextStyle? style,
final StrutStyle? strutStyle,
final TextDirection? textDirection,
final TextAlign textAlign,
final TextAlignVertical? textAlignVertical,
final bool autofocus,
final bool readOnly,
final bool? showCursor,
final String obscuringCharacter,
final bool obscureText,
final bool autocorrect,
final SmartDashesType? smartDashesType,
final SmartQuotesType? smartQuotesType,
final bool enableSuggestions,
final MaxLengthEnforcement? maxLengthEnforcement,
final int? maxLines,
final int? minLines,
final bool expands,
final int? maxLength,
final Callback? onTap,
final Map<String, String>? validatorMessages,
final Callback? onEditingComplete,
final List<TextInputFormatter>? inputFormatters,
final bool? enabled,
final double cursorWidth,
final double? cursorHeight,
final Radius? cursorRadius,
final Color? cursorColor,
final Brightness? keyboardAppearance,
final EdgeInsets scrollPadding,
final bool? enableInteractiveSelection,
final ScrollPhysics? scrollPhysics,
final Iterable<String>? autofillHints,
final AutovalidateMode? autovalidateMode,
final String? restorationId,
final bool enableIMEPersonalizedLearning,
final MouseCursor? mouseCursor}) = _$TextFormField;