Rich text editor for Flutter
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.

42 lines
1.0 KiB

import 'package:flutter/material.dart';
import 'package:flutter_quill/models/documents/nodes/block.dart';
import 'package:tuple/tuple.dart';
4 years ago
import 'delegate.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;
4 years ago
final EmbedBuilder embedBuilder;
EditableTextBlock(
this.block,
this.textDirection,
this.verticalSpacing,
this.textSelection,
this.color,
this.enableInteractiveSelection,
this.hasFocus,
4 years ago
this.contentPadding,
this.embedBuilder)
: assert(hasFocus != null),
assert(embedBuilder != null);
@override
Widget build(BuildContext context) {
// TODO: implement build
throw UnimplementedError();
}
}
//class RenderEditableTextBlock extends RenderEditableContainerBox
// implements RenderEditableBox {
//
// }