dartlangeditorflutterflutter-appsflutter-examplesflutter-packageflutter-widgetquillquill-deltaquilljsreactquillrich-textrich-text-editorwysiwygwysiwyg-editor
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
920 B
37 lines
920 B
import 'package:flutter/material.dart'; |
|
import 'package:flutter_quill/models/documents/nodes/block.dart'; |
|
import 'package:tuple/tuple.dart'; |
|
|
|
import 'box.dart'; |
|
|
|
class EditableTextBlock extends StatelessWidget { |
|
final Block block; |
|
final TextDirection textDirection; |
|
final Tuple2 verticalSpacing; |
|
final TextSelection textSelection; |
|
final Color color; |
|
final bool enableInteractiveSelection; |
|
final bool hasFocus; |
|
final EdgeInsets contentPadding; |
|
|
|
EditableTextBlock( |
|
this.block, |
|
this.textDirection, |
|
this.verticalSpacing, |
|
this.textSelection, |
|
this.color, |
|
this.enableInteractiveSelection, |
|
this.hasFocus, |
|
this.contentPadding); |
|
|
|
@override |
|
Widget build(BuildContext context) { |
|
// TODO: implement build |
|
throw UnimplementedError(); |
|
} |
|
} |
|
|
|
//class RenderEditableTextBlock extends RenderEditableContainerBox |
|
// implements RenderEditableBox { |
|
// |
|
// }
|
|
|