QuillRawEditorConfig constructor

const QuillRawEditorConfig({
  1. required FocusNode focusNode,
  2. required ScrollController scrollController,
  3. required double scrollBottomInset,
  4. required CursorStyle cursorStyle,
  5. required Color selectionColor,
  6. required TextSelectionControls selectionCtrls,
  7. required EmbedsBuilder embedBuilder,
  8. required TextSpanBuilder textSpanBuilder,
  9. required bool autoFocus,
  10. List<CharacterShortcutEvent> characterShortcutEvents = const [],
  11. List<SpaceShortcutEvent> spaceShortcutEvents = const [],
  12. @experimental KeyEventResult? onKeyPressed(
    1. KeyEvent event,
    2. Node? node
    )?,
  13. bool showCursor = true,
  14. bool scrollable = true,
  15. EdgeInsetsGeometry padding = EdgeInsets.zero,
  16. bool readOnly = false,
  17. bool? checkBoxReadOnly,
  18. bool disableClipboard = false,
  19. String? placeholder,
  20. ValueChanged<String>? onLaunchUrl,
  21. QuillEditorContextMenuBuilder? contextMenuBuilder = defaultContextMenuBuilder,
  22. bool showSelectionHandles = false,
  23. TextCapitalization textCapitalization = TextCapitalization.none,
  24. double? maxHeight,
  25. double? minHeight,
  26. double? maxContentWidth,
  27. DefaultStyles? customStyles,
  28. Map<ShortcutActivator, Intent>? customShortcuts,
  29. Map<Type, Action<Intent>>? customActions,
  30. bool expands = false,
  31. bool onTapOutsideEnabled = true,
  32. bool enableAlwaysIndentOnTab = false,
  33. dynamic onTapOutside(
    1. PointerDownEvent event,
    2. FocusNode focusNode
    )?,
  34. Brightness? keyboardAppearance,
  35. bool enableInteractiveSelection = true,
  36. ScrollPhysics? scrollPhysics,
  37. LinkActionPickerDelegate linkActionPickerDelegate = defaultLinkActionPickerDelegate,
  38. CustomStyleBuilder? customStyleBuilder,
  39. CustomRecognizerBuilder? customRecognizerBuilder,
  40. bool floatingCursorDisabled = false,
  41. List<String> customLinkPrefixes = const <String>[],
  42. QuillDialogTheme? dialogTheme,
  43. ContentInsertionConfiguration? contentInsertionConfiguration,
  44. TextInputAction textInputAction = TextInputAction.newline,
  45. bool requestKeyboardFocusOnCheckListChanged = false,
  46. bool enableScribble = false,
  47. void onScribbleActivated()?,
  48. EdgeInsets? scribbleAreaInsets,
  49. MouseCursor readOnlyMouseCursor = SystemMouseCursors.text,
  50. void onPerformAction(
    1. TextInputAction action
    )?,
  51. @experimental LeadingBlockNodeBuilder? customLeadingBuilder,
  52. QuillMagnifierBuilder? quillMagnifierBuilder,
})

Implementation

const QuillRawEditorConfig({
  required this.focusNode,
  required this.scrollController,
  required this.scrollBottomInset,
  required this.cursorStyle,
  required this.selectionColor,
  required this.selectionCtrls,
  required this.embedBuilder,
  required this.textSpanBuilder,
  required this.autoFocus,
  this.characterShortcutEvents = const [],
  this.spaceShortcutEvents = const [],
  @experimental this.onKeyPressed,
  this.showCursor = true,
  this.scrollable = true,
  this.padding = EdgeInsets.zero,
  this.readOnly = false,
  this.checkBoxReadOnly,
  this.disableClipboard = false,
  this.placeholder,
  this.onLaunchUrl,
  this.contextMenuBuilder = defaultContextMenuBuilder,
  this.showSelectionHandles = false,
  this.textCapitalization = TextCapitalization.none,
  this.maxHeight,
  this.minHeight,
  this.maxContentWidth,
  this.customStyles,
  this.customShortcuts,
  this.customActions,
  this.expands = false,
  this.onTapOutsideEnabled = true,
  this.enableAlwaysIndentOnTab = false,
  this.onTapOutside,
  this.keyboardAppearance,
  this.enableInteractiveSelection = true,
  this.scrollPhysics,
  this.linkActionPickerDelegate = defaultLinkActionPickerDelegate,
  this.customStyleBuilder,
  this.customRecognizerBuilder,
  this.floatingCursorDisabled = false,
  this.customLinkPrefixes = const <String>[],
  this.dialogTheme,
  this.contentInsertionConfiguration,
  this.textInputAction = TextInputAction.newline,
  this.requestKeyboardFocusOnCheckListChanged = false,
  this.enableScribble = false,
  this.onScribbleActivated,
  this.scribbleAreaInsets,
  this.readOnlyMouseCursor = SystemMouseCursors.text,
  this.onPerformAction,
  @experimental this.customLeadingBuilder,
  this.quillMagnifierBuilder,
});