EditableTextBlock constructor

const EditableTextBlock({
  1. Key? key,
  2. required Block block,
  3. required QuillController controller,
  4. required TextDirection textDirection,
  5. required double scrollBottomInset,
  6. required VerticalSpacing verticalSpacing,
  7. required TextSelection textSelection,
  8. required Color color,
  9. required DefaultStyles? styles,
  10. required bool enableInteractiveSelection,
  11. required bool hasFocus,
  12. required EdgeInsets? contentPadding,
  13. required EmbedsBuilder embedBuilder,
  14. required LinkActionPicker linkActionPicker,
  15. required CursorCont cursorCont,
  16. required Map<int, int> indentLevelCounts,
  17. required bool clearIndents,
  18. required dynamic onCheckboxTap(
    1. int,
    2. bool
    ),
  19. required bool readOnly,
  20. ValueChanged<String>? onLaunchUrl,
  21. CustomStyleBuilder? customStyleBuilder,
  22. List<String> customLinkPrefixes = const <String>[],
})

Implementation

const EditableTextBlock({
  super.key,
  required this.block,
  required this.controller,
  required this.textDirection,
  required this.scrollBottomInset,
  required this.verticalSpacing,
  required this.textSelection,
  required this.color,
  required this.styles,
  required this.enableInteractiveSelection,
  required this.hasFocus,
  required this.contentPadding,
  required this.embedBuilder,
  required this.linkActionPicker,
  required this.cursorCont,
  required this.indentLevelCounts,
  required this.clearIndents,
  required this.onCheckboxTap,
  required this.readOnly,
  this.onLaunchUrl,
  this.customStyleBuilder,
  this.customLinkPrefixes = const <String>[],
});