value static method

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

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

Implementation

static QuillToolbarProvider value({
  required QuillToolbarConfigurations value,
  required Widget child,
}) {
  return QuillToolbarProvider(
    toolbarConfigurations: value,
    child: child,
  );
}