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; }