QuillRawEditor constructor

QuillRawEditor({
  1. required QuillRawEditorConfig config,
  2. required QuillController controller,
  3. ValueNotifier<Offset?>? dragOffsetNotifier,
  4. 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');