QuillToolbarMediaButtonOptions constructor

const QuillToolbarMediaButtonOptions({
  1. required QuillMediaType type,
  2. required MediaPickedCallback? onMediaPickedCallback,
  3. Color? dialogBarrierColor,
  4. MediaFilePicker? mediaFilePicker,
  5. double childrenSpacing = 16.0,
  6. AutovalidateMode autovalidateMode = AutovalidateMode.disabled,
  7. double? iconSize,
  8. QuillDialogTheme? dialogTheme,
  9. String? labelText,
  10. String? hintText,
  11. String? submitButtonText,
  12. Size? submitButtonSize,
  13. String? galleryButtonText,
  14. String? linkButtonText,
  15. String? validationMessage,
  16. IconData? iconData,
  17. VoidCallback? afterButtonPressed,
  18. String? tooltip,
  19. QuillIconTheme? iconTheme,
  20. QuillToolbarButtonOptionsChildBuilder<QuillToolbarMediaButtonOptions, QuillToolbarMediaButtonExtraOptions>? childBuilder,
})

Implementation

const QuillToolbarMediaButtonOptions({
  required this.type,
  required this.onMediaPickedCallback,
  // required this.onVideoPickCallback,
  this.dialogBarrierColor,
  this.mediaFilePicker,
  this.childrenSpacing = 16.0,
  this.autovalidateMode = AutovalidateMode.disabled,
  super.iconSize,
  this.dialogTheme,
  this.labelText,
  this.hintText,
  this.submitButtonText,
  this.submitButtonSize,
  this.galleryButtonText,
  this.linkButtonText,
  this.validationMessage,
  super.iconData,
  super.afterButtonPressed,
  super.tooltip,
  super.iconTheme,
  super.childBuilder,
});