QuillToolbarSelectAlignmentButtonOptions class
Constructors
-
QuillToolbarSelectAlignmentButtonOptions({QuillSelectAlignmentValues<IconData>? iconsData, QuillSelectAlignmentValues<String>? tooltips, double? iconSize, double? iconButtonFactor, VoidCallback? afterButtonPressed, QuillToolbarButtonOptionsChildBuilder<QuillToolbarSelectAlignmentButtonOptions, QuillToolbarBaseButtonExtraOptions>? childBuilder, QuillIconTheme? iconTheme, List<Attribute>? attributes, bool showLeftAlignment = true, bool showCenterAlignment = true, bool showRightAlignment = true, bool showJustifyAlignment = true})
-
const
Properties
-
afterButtonPressed
→ VoidCallback?
-
To do extra logic after pressing the button
finalinherited
-
attributes
→ List<Attribute>?
-
final
-
childBuilder
→ QuillToolbarButtonOptionsChildBuilder<QuillToolbarSelectAlignmentButtonOptions, QuillToolbarBaseButtonExtraOptions>?
-
If you want to dispaly a differnet widget based using a builder
finalinherited
-
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 this
finalinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
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
-
iconsData
→ QuillSelectAlignmentValues<IconData>?
-
Default to
const QuillToolbarSelectAlignmentValues(
leftAlignment: Icons.format_align_left,
centerAlignment: Icons.format_align_center,
rightAlignment: Icons.format_align_right,
justifyAlignment: Icons.format_align_justify,
)
final
-
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
finalinherited
-
iconTheme
→ QuillIconTheme?
-
Use custom theme
finalinherited
-
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
-
showCenterAlignment
→ bool
-
final
-
showJustifyAlignment
→ bool
-
final
-
showLeftAlignment
→ bool
-
final
-
showRightAlignment
→ bool
-
final
-
stringify
→ bool?
-
If set to
true
, the toString
method will be overridden to output
this instance's props
.
no setterinherited
-
tooltip
→ String?
-
By default it will use the default tooltip which already localized
finalinherited
-
tooltips
→ QuillSelectAlignmentValues<String>?
-
By default will use the localized tooltips
final