QuillToolbarMediaButtonOptions class
Constructors
-
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}) -
const
Properties
- afterButtonPressed → VoidCallback?
-
To do extra logic after pressing the button
finalinherited
- autovalidateMode → AutovalidateMode
-
final
-
childBuilder
→ QuillToolbarButtonOptionsChildBuilder<
QuillToolbarMediaButtonOptions, QuillToolbarMediaButtonExtraOptions> ? -
If you want to dispaly a differnet widget based using a builder
finalinherited
- childrenSpacing → double
-
The margin between child widgets in the dialog.
final
- dialogBarrierColor → Color?
-
final
- dialogTheme → QuillDialogTheme?
-
final
- galleryButtonText → String?
-
The text of the gallery button
MediaSourceSelectorDialog
.final - globalIconButtonFactor → double
-
The factor of how much larger the button is in relation to the icon,
by default it will be
kDefaultIconButtonFactor
.finalinherited - globalIconSize → double
-
To change the the icon size pass a different value, by default will be
kDefaultIconSize
. this will be used for all the buttons but you can override thisfinalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- hintText → String?
-
The hint text for link TextField.
final
- iconButtonFactor → double?
-
finalinherited
- iconData → IconData?
-
By default it will use a Icon data from Icons which comes from material
library, to change this, please pass a different value
If there is no Icon in this button then pass null in the child class
finalinherited
- iconSize → double?
-
To change the the icon size pass a different value, by default will be
kDefaultIconSize
. this will be used for all the buttons but you can override thisfinalinherited - iconTheme → QuillIconTheme?
-
Use custom theme
finalinherited
- labelText → String?
-
The text of label in link add mode.
final
- linkButtonText → String?
-
The text of the link button
MediaSourceSelectorDialog
.final - mediaFilePicker → MediaFilePicker?
-
final
- onMediaPickedCallback → MediaPickedCallback?
-
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited - submitButtonSize → Size?
-
The size of dialog buttons.
final
- submitButtonText → String?
-
The text of the submit button.
final
- tooltip → String?
-
By default it will use the default tooltip which already localized
finalinherited
- type → QuillMediaType
-
final
- validationMessage → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited