QuillRawEditor constructor
QuillRawEditor({
- required QuillRawEditorConfig config,
- required QuillController controller,
- ValueNotifier<
Offset?> ? dragOffsetNotifier, - Key? key,
Implementation
QuillRawEditor({
required this.config,
required this.controller,
this.dragOffsetNotifier,
super.key,
}) : assert(config.maxHeight == null || config.maxHeight! > 0,
'maxHeight cannot be null'),
assert(config.minHeight == null || config.minHeight! >= 0,
'minHeight cannot be null'),
assert(
config.maxHeight == null ||
config.minHeight == null ||
config.maxHeight! >= config.minHeight!,
'maxHeight cannot be null');