QuillToolbarBaseButtonOptions<T, I> class
The T
is the options for the button, usually should refresnce itself
it's used in childBuilder so the developer can customize this when using it
The I
is extra options for the button, usually for it's state
- Implementers
- QuillToolbarClearFormatButtonOptions
- QuillToolbarColorButtonOptions
- QuillToolbarCustomButtonOptions
- QuillToolbarFontFamilyButtonOptions
- QuillToolbarFontSizeButtonOptions
- QuillToolbarHistoryButtonOptions
- QuillToolbarIndentButtonOptions
- QuillToolbarLinkStyleButton2Options
- QuillToolbarLinkStyleButtonOptions
- QuillToolbarSearchButtonOptions
- QuillToolbarSelectAlignmentButtonOptions
- QuillToolbarSelectHeaderStyleButtonsOptions
- QuillToolbarSelectHeaderStyleDropdownButtonOptions
- QuillToolbarSelectLineHeightStyleDropdownButtonOptions
- QuillToolbarToggleCheckListButtonOptions
- QuillToolbarToggleStyleButtonOptions
- Annotations
Constructors
-
QuillToolbarBaseButtonOptions.new({IconData? iconData, double? iconSize, double? iconButtonFactor, VoidCallback? afterButtonPressed, String? tooltip, QuillIconTheme? iconTheme, QuillToolbarButtonOptionsChildBuilder<
T, I> ? childBuilder}) -
const
Properties
- afterButtonPressed → VoidCallback?
-
To do extra logic after pressing the button
final
-
childBuilder
→ QuillToolbarButtonOptionsChildBuilder<
T, I> ? -
If you want to display a different widget based using a builder
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconButtonFactor → double?
-
final
- 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 classfinal - 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 this
final
- iconTheme → QuillIconTheme?
-
Use custom theme
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tooltip → String?
-
By default it will use the default tooltip which already localized
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