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.

22 lines
600 B

import 'package:flutter/foundation.dart' show immutable;
/// The configurations for the quill editor widget of flutter quill
@immutable
class QuillEditorConfigurations {
const QuillEditorConfigurations({
this.placeholder,
this.readOnly = false,
});
/// The text placeholder in the quill editor
final String? placeholder;
/// Whether the text can be changed.
///
/// When this is set to `true`, the text cannot be modified
/// by any shortcut or keyboard operation. The text is still selectable.
///
/// Defaults to `false`. Must not be `null`.
final bool readOnly;
}