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.
33 lines
1.0 KiB
33 lines
1.0 KiB
import 'package:equatable/equatable.dart'; |
|
import 'package:flutter/foundation.dart' show immutable; |
|
|
|
import '../../../flutter_quill.dart'; |
|
|
|
export './editor/configurations.dart'; |
|
export './shared_configurations.dart'; |
|
export './toolbar/configurations.dart'; |
|
|
|
@immutable |
|
class QuillConfigurations extends Equatable { |
|
const QuillConfigurations({ |
|
required this.controller, |
|
this.sharedConfigurations = const QuillSharedConfigurations(), |
|
}); |
|
|
|
/// Controller object which establishes a link between a rich text document |
|
/// and this editor. |
|
/// |
|
/// The controller is shared between [QuillEditorConfigurations] and |
|
/// [QuillToolbarConfigurations] but to simplify things we will defined it |
|
/// here, it should not be null |
|
final QuillController controller; |
|
|
|
/// The shared configurations between [QuillEditorConfigurations] and |
|
/// [QuillToolbarConfigurations] so we don't duplicate things |
|
final QuillSharedConfigurations sharedConfigurations; |
|
|
|
@override |
|
List<Object?> get props => [ |
|
sharedConfigurations, |
|
]; |
|
}
|
|
|