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.
22 lines
861 B
22 lines
861 B
2 years ago
|
import 'package:flutter/material.dart' show Color, Colors, Locale;
|
||
|
import './editor/configurations.dart' show QuillEditorConfigurations;
|
||
|
import './toolbar/configurations.dart' show QuillToolbarConfigurations;
|
||
|
|
||
|
/// The shared configurations between [QuillEditorConfigurations] and
|
||
|
/// [QuillToolbarConfigurations] so we don't duplicate things
|
||
|
class QuillSharedConfigurations {
|
||
|
const QuillSharedConfigurations({
|
||
|
this.dialogBarrierColor = Colors.black54,
|
||
|
this.locale,
|
||
|
});
|
||
|
|
||
|
// This is just example or showcase of this major update to make the library
|
||
|
// more maintanable, flexible, and customizable
|
||
|
/// The barrier color of the shown dialogs
|
||
|
final Color dialogBarrierColor;
|
||
|
|
||
|
/// The locale to use for the editor and toolbar, defaults to system locale
|
||
|
/// More https://github.com/singerdmx/flutter-quill#translation
|
||
|
final Locale? locale;
|
||
|
}
|