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.
24 lines
566 B
24 lines
566 B
3 years ago
|
import 'package:flutter/material.dart';
|
||
|
|
||
|
import '../models/documents/nodes/leaf.dart' as leaf;
|
||
|
import '../models/themes/quill_dialog_theme.dart';
|
||
|
import '../models/themes/quill_icon_theme.dart';
|
||
|
import 'controller.dart';
|
||
|
|
||
|
abstract class EmbedBuilder {
|
||
|
String get key;
|
||
|
|
||
|
Widget build(
|
||
|
BuildContext context,
|
||
|
QuillController controller,
|
||
|
leaf.Embed node,
|
||
|
bool readOnly,
|
||
|
);
|
||
|
}
|
||
|
|
||
|
typedef EmbedButtonBuilder = Widget Function(
|
||
|
QuillController controller,
|
||
|
double toolbarIconSize,
|
||
|
QuillIconTheme? iconTheme,
|
||
|
QuillDialogTheme? dialogTheme);
|