QuillRawEditorConfigurations constructor

const QuillRawEditorConfigurations({
  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 bool autoFocus,
  9. required List<CharacterShortcutEvent> characterShortcutEvents,
  10. required List<SpaceShortcutEvent> spaceShortcutEvents,
  11. @Deprecated('controller should be passed directly to the editor - this parameter will be removed in future versions.') QuillController? controller,
  12. bool showCursor = true,
  13. bool scrollable = true,
  14. EdgeInsetsGeometry padding = EdgeInsets.zero,
  15. bool readOnly = false,
  16. bool? checkBoxReadOnly,
  17. bool disableClipboard = false,
  18. String? placeholder,
  19. ValueChanged<String>? onLaunchUrl,
  20. QuillEditorContextMenuBuilder? contextMenuBuilder = defaultContextMenuBuilder,
  21. bool showSelectionHandles = false,
  22. TextCapitalization textCapitalization = TextCapitalization.none,
  23. double? maxHeight,
  24. double? minHeight,
  25. double? maxContentWidth,
  26. DefaultStyles? customStyles,
  27. Map<ShortcutActivator, Intent>? customShortcuts,
  28. Map<Type, Action<Intent>>? customActions,
  29. bool expands = false,
  30. bool isOnTapOutsideEnabled = true,
  31. @Deprecated('Use space/char shortcut events instead - enableMarkdownStyleConversion will be removed in future releases') bool enableMarkdownStyleConversion = 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. Future<String?> onImagePaste(
    1. Uint8List imageBytes
    )?,
  42. Future<String?> onGifPaste(
    1. Uint8List imageBytes
    )?,
  43. List<String> customLinkPrefixes = const <String>[],
  44. QuillDialogTheme? dialogTheme,
  45. ContentInsertionConfiguration? contentInsertionConfiguration,
  46. TextInputAction textInputAction = TextInputAction.newline,
  47. bool requestKeyboardFocusOnCheckListChanged = false,
  48. bool enableScribble = false,
  49. void onScribbleActivated()?,
  50. EdgeInsets? scribbleAreaInsets,
  51. MouseCursor readOnlyMouseCursor = SystemMouseCursors.text,
  52. TextMagnifierConfiguration? magnifierConfiguration,
  53. void onPerformAction(
    1. TextInputAction action
    )?,
  54. LeadingBlockNodeBuilder? customLeadingBuilder,
})

Implementation

const QuillRawEditorConfigurations({
  required this.focusNode,
  required this.scrollController,
  required this.scrollBottomInset,
  required this.cursorStyle,
  required this.selectionColor,
  required this.selectionCtrls,
  required this.embedBuilder,
  required this.autoFocus,
  required this.characterShortcutEvents,
  required this.spaceShortcutEvents,
  @Deprecated(
      'controller should be passed directly to the editor - this parameter will be removed in future versions.')
  this.controller,
  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.isOnTapOutsideEnabled = true,
  @Deprecated(
      'Use space/char shortcut events instead - enableMarkdownStyleConversion will be removed in future releases')
  this.enableMarkdownStyleConversion = true,
  this.enableAlwaysIndentOnTab = false,
  this.onTapOutside,
  this.keyboardAppearance,
  this.enableInteractiveSelection = true,
  this.scrollPhysics,
  this.linkActionPickerDelegate = defaultLinkActionPickerDelegate,
  this.customStyleBuilder,
  this.customRecognizerBuilder,
  this.floatingCursorDisabled = false,
  this.onImagePaste,
  this.onGifPaste,
  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.magnifierConfiguration,
  this.onPerformAction,
  this.customLeadingBuilder,
});