QuillRawEditorConfigurations constructor
const
QuillRawEditorConfigurations({
- required FocusNode focusNode,
- required ScrollController scrollController,
- required double scrollBottomInset,
- required CursorStyle cursorStyle,
- required Color selectionColor,
- required TextSelectionControls selectionCtrls,
- required EmbedsBuilder embedBuilder,
- required bool autoFocus,
- required List<
CharacterShortcutEvent> characterShortcutEvents, - required List<
SpaceShortcutEvent> spaceShortcutEvents, - @Deprecated('controller should be passed directly to the editor - this parameter will be removed in future versions.') QuillController? controller,
- bool showCursor = true,
- bool scrollable = true,
- EdgeInsetsGeometry padding = EdgeInsets.zero,
- bool readOnly = false,
- bool? checkBoxReadOnly,
- bool disableClipboard = false,
- String? placeholder,
- ValueChanged<
String> ? onLaunchUrl, - QuillEditorContextMenuBuilder? contextMenuBuilder = defaultContextMenuBuilder,
- bool showSelectionHandles = false,
- TextCapitalization textCapitalization = TextCapitalization.none,
- double? maxHeight,
- double? minHeight,
- double? maxContentWidth,
- DefaultStyles? customStyles,
- Map<
ShortcutActivator, Intent> ? customShortcuts, - Map<
Type, Action< ? customActions,Intent> > - bool expands = false,
- bool isOnTapOutsideEnabled = true,
- @Deprecated('Use space/char shortcut events instead - enableMarkdownStyleConversion will be removed in future releases') bool enableMarkdownStyleConversion = true,
- bool enableAlwaysIndentOnTab = false,
- dynamic onTapOutside(
- PointerDownEvent event,
- FocusNode focusNode
- Brightness? keyboardAppearance,
- bool enableInteractiveSelection = true,
- ScrollPhysics? scrollPhysics,
- LinkActionPickerDelegate linkActionPickerDelegate = defaultLinkActionPickerDelegate,
- CustomStyleBuilder? customStyleBuilder,
- CustomRecognizerBuilder? customRecognizerBuilder,
- bool floatingCursorDisabled = false,
- Future<
String?> onImagePaste(- Uint8List imageBytes
- Future<
String?> onGifPaste(- Uint8List imageBytes
- List<
String> customLinkPrefixes = const <String>[], - QuillDialogTheme? dialogTheme,
- ContentInsertionConfiguration? contentInsertionConfiguration,
- TextInputAction textInputAction = TextInputAction.newline,
- bool requestKeyboardFocusOnCheckListChanged = false,
- bool enableScribble = false,
- void onScribbleActivated()?,
- EdgeInsets? scribbleAreaInsets,
- MouseCursor readOnlyMouseCursor = SystemMouseCursors.text,
- TextMagnifierConfiguration? magnifierConfiguration,
- void onPerformAction(
- TextInputAction action
- 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,
});