EditorField constructor

EditorField({
  1. Key? key,
  2. void onChanged(
    1. String
    )?,
  3. void onTap()?,
  4. void onEditingComplete()?,
  5. void onSubmitted(
    1. String
    )?,
  6. void onTapOutside(
    1. PointerDownEvent
    )?,
  7. TextInputType? keyboardType,
  8. List<TextInputFormatter>? inputFormatters,
  9. InputDecoration? decoration,
  10. bool? obscureText,
  11. bool? enableSuggestions,
  12. TextCapitalization? textCapitalization,
  13. bool? autocorrect,
  14. TextInputAction? textInputAction,
  15. TextAlign? textAlign,
  16. TextAlignVertical? textAlignVertical,
  17. TextStyle? style,
  18. TextDirection? textDirection,
  19. bool? expands,
  20. int? maxLines,
  21. int? minLines,
  22. int? maxLength,
  23. MaxLengthEnforcement? maxLengthEnforcement,
  24. bool? showCursor,
  25. double? cursorWidth,
  26. double? cursorHeight,
  27. Radius? cursorRadius,
  28. Color? cursorColor,
  29. bool? enableInteractiveSelection,
  30. TextSelectionControls? selectionControls,
  31. ScrollPhysics? scrollPhysics,
  32. ScrollController? scrollController,
  33. SmartQuotesType? smartQuotesType,
  34. SmartDashesType? smartDashesType,
  35. Iterable<String>? autofillHints,
  36. String? restorationId,
  37. MouseCursor? mouseCursor,
  38. 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,
});