QuillRawEditor constructor

QuillRawEditor({
  1. required QuillRawEditorConfigurations configurations,
  2. dynamic controller,
  3. Key? key,
})

Implementation

QuillRawEditor({
  required this.configurations,
  controller,
  super.key,
})  :
      // ignore: deprecated_member_use_from_same_package
      assert((controller ?? configurations.controller) != null),
      // ignore: deprecated_member_use_from_same_package
      controller = controller ?? configurations.controller,
      assert(
          configurations.maxHeight == null || configurations.maxHeight! > 0,
          'maxHeight cannot be null'),
      assert(
          configurations.minHeight == null || configurations.minHeight! >= 0,
          'minHeight cannot be null'),
      assert(
          configurations.maxHeight == null ||
              configurations.minHeight == null ||
              configurations.maxHeight! >= configurations.minHeight!,
          'maxHeight cannot be null');