value static method

QuillEditorProvider value({
  1. required QuillEditorProvider value,
  2. required Widget child,
})

To pass the QuillEditorProvider instance as value instead of creating new widget

Implementation

static QuillEditorProvider value({
  required QuillEditorProvider value,
  required Widget child,
}) {
  value.controller.editorConfigurations = value.editorConfigurations;
  return QuillEditorProvider(
    controller: value.controller,
    child: child,
  );
}