EditorField constructor
EditorField({
- Key? key,
- void onChanged()?,
- void onTap()?,
- void onEditingComplete()?,
- void onSubmitted()?,
- void onTapOutside()?,
- TextInputType? keyboardType,
- List<
TextInputFormatter> ? inputFormatters, - InputDecoration? decoration,
- bool? obscureText,
- bool? enableSuggestions,
- TextCapitalization? textCapitalization,
- bool? autocorrect,
- TextInputAction? textInputAction,
- TextAlign? textAlign,
- TextAlignVertical? textAlignVertical,
- TextStyle? style,
- TextDirection? textDirection,
- bool? expands,
- int? maxLines,
- int? minLines,
- int? maxLength,
- MaxLengthEnforcement? maxLengthEnforcement,
- bool? showCursor,
- double? cursorWidth,
- double? cursorHeight,
- Radius? cursorRadius,
- Color? cursorColor,
- bool? enableInteractiveSelection,
- TextSelectionControls? selectionControls,
- ScrollPhysics? scrollPhysics,
- ScrollController? scrollController,
- SmartQuotesType? smartQuotesType,
- SmartDashesType? smartDashesType,
- Iterable<
String> ? autofillHints, - String? restorationId,
- MouseCursor? mouseCursor,
- EditableTextContextMenuBuilder? contextMenuBuilder,
Implementation
EditorField({
this.key,
this.onChanged,
this.onTap,
this.onEditingComplete,
this.onSubmitted,
this.onTapOutside,
this.keyboardType,
this.inputFormatters,
this.decoration,
this.obscureText,
this.enableSuggestions,
this.textCapitalization,
this.autocorrect,
this.textInputAction,
this.textAlign,
this.textAlignVertical,
this.style,
this.textDirection,
this.expands,
this.maxLines,
this.minLines,
this.maxLength,
this.maxLengthEnforcement,
this.showCursor,
this.cursorWidth,
this.cursorHeight,
this.cursorRadius,
this.cursorColor,
this.enableInteractiveSelection,
this.selectionControls,
this.scrollPhysics,
this.scrollController,
this.smartQuotesType,
this.smartDashesType,
this.autofillHints,
this.restorationId,
this.mouseCursor,
this.contextMenuBuilder,
});