value static method

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

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

Implementation

static QuillSimpleToolbarProvider value({
  required QuillSimpleToolbarProvider value,
  required Widget child,
}) {
  return QuillSimpleToolbarProvider(
    toolbarConfigurations: value.toolbarConfigurations,
    child: child,
  );
}