QuillToolbarMediaButtonOptions constructor
const
QuillToolbarMediaButtonOptions({
- required QuillMediaType type,
- required MediaPickedCallback? onMediaPickedCallback,
- Color? dialogBarrierColor,
- MediaFilePicker? mediaFilePicker,
- double childrenSpacing = 16.0,
- AutovalidateMode autovalidateMode = AutovalidateMode.disabled,
- double? iconSize,
- QuillDialogTheme? dialogTheme,
- String? labelText,
- String? hintText,
- String? submitButtonText,
- Size? submitButtonSize,
- String? galleryButtonText,
- String? linkButtonText,
- String? validationMessage,
- IconData? iconData,
- VoidCallback? afterButtonPressed,
- String? tooltip,
- QuillIconTheme? iconTheme,
- 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,
});