EditableTextBlock constructor

const EditableTextBlock({
  1. required Block block,
  2. required TextDirection textDirection,
  3. required double scrollBottomInset,
  4. required Tuple2 verticalSpacing,
  5. required TextSelection textSelection,
  6. required Color color,
  7. required DefaultStyles? styles,
  8. required bool enableInteractiveSelection,
  9. required bool hasFocus,
  10. required EdgeInsets? contentPadding,
  11. required EmbedBuilder embedBuilder,
  12. required CursorCont cursorCont,
  13. required Map<int, int> indentLevelCounts,
  14. required dynamic onCheckboxTap(
    1. int,
    2. bool
    ),
  15. required bool readOnly,
  16. CustomStyleBuilder? customStyleBuilder,
  17. Key? key,
})

Implementation

const EditableTextBlock(
    {required this.block,
    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.cursorCont,
    required this.indentLevelCounts,
    required this.onCheckboxTap,
    required this.readOnly,
    this.customStyleBuilder,
    Key? key});