QuillEditor constructor

const QuillEditor({
  1. required QuillController controller,
  2. required FocusNode focusNode,
  3. required ScrollController scrollController,
  4. required bool scrollable,
  5. required EdgeInsetsGeometry padding,
  6. required bool autoFocus,
  7. required bool readOnly,
  8. required bool expands,
  9. bool? showCursor,
  10. bool? paintCursorAboveText,
  11. String? placeholder,
  12. bool enableInteractiveSelection = true,
  13. bool enableSelectionToolbar = true,
  14. double scrollBottomInset = 0,
  15. double? minHeight,
  16. double? maxHeight,
  17. double? maxContentWidth,
  18. DefaultStyles? customStyles,
  19. TextCapitalization textCapitalization = TextCapitalization.sentences,
  20. Brightness keyboardAppearance = Brightness.light,
  21. ScrollPhysics? scrollPhysics,
  22. ValueChanged<String>? onLaunchUrl,
  23. bool onTapDown(
    1. TapDownDetails details,
    2. TextPosition (
      1. Offset offset
      )
    )?,
  24. bool onTapUp(
    1. TapUpDetails details,
    2. TextPosition (
      1. Offset offset
      )
    )?,
  25. bool onSingleLongTapStart(
    1. LongPressStartDetails details,
    2. TextPosition (
      1. Offset offset
      )
    )?,
  26. bool onSingleLongTapMoveUpdate(
    1. LongPressMoveUpdateDetails details,
    2. TextPosition (
      1. Offset offset
      )
    )?,
  27. bool onSingleLongTapEnd(
    1. LongPressEndDetails details,
    2. TextPosition (
      1. Offset offset
      )
    )?,
  28. Iterable<EmbedBuilder>? embedBuilders,
  29. EmbedBuilder? unknownEmbedBuilder,
  30. LinkActionPickerDelegate linkActionPickerDelegate = defaultLinkActionPickerDelegate,
  31. CustomStyleBuilder? customStyleBuilder,
  32. bool floatingCursorDisabled = false,
  33. TextSelectionControls? textSelectionControls,
  34. Future<String?> onImagePaste(
    1. Uint8List imageBytes
    )?,
  35. Map<LogicalKeySet, Intent>? customShortcuts,
  36. Map<Type, Action<Intent>>? customActions,
  37. bool enableUnfocusOnTapOutside = true,
  38. List<String> customLinkPrefixes = const <String>[],
  39. Color? cursorColor,
  40. Key? key,
})

Implementation

const QuillEditor(
    {required this.controller,
    required this.focusNode,
    required this.scrollController,
    required this.scrollable,
    required this.padding,
    required this.autoFocus,
    required this.readOnly,
    required this.expands,
    this.showCursor,
    this.paintCursorAboveText,
    this.placeholder,
    this.enableInteractiveSelection = true,
    this.enableSelectionToolbar = true,
    this.scrollBottomInset = 0,
    this.minHeight,
    this.maxHeight,
    this.maxContentWidth,
    this.customStyles,
    this.textCapitalization = TextCapitalization.sentences,
    this.keyboardAppearance = Brightness.light,
    this.scrollPhysics,
    this.onLaunchUrl,
    this.onTapDown,
    this.onTapUp,
    this.onSingleLongTapStart,
    this.onSingleLongTapMoveUpdate,
    this.onSingleLongTapEnd,
    this.embedBuilders,
    this.unknownEmbedBuilder,
    this.linkActionPickerDelegate = defaultLinkActionPickerDelegate,
    this.customStyleBuilder,
    this.floatingCursorDisabled = false,
    this.textSelectionControls,
    this.onImagePaste,
    this.customShortcuts,
    this.customActions,
    this.enableUnfocusOnTapOutside = true,
    this.customLinkPrefixes = const <String>[],
    this.cursorColor,
    Key? key})
    : super(key: key);