QuillToolbarSelectAlignmentButtonOptions class
- Inheritance
-
- Object
- QuillToolbarBaseButtonOptions<
QuillToolbarSelectAlignmentButtonOptions, QuillToolbarBaseButtonExtraOptions> - QuillToolbarSelectAlignmentButtonOptions
Constructors
-
QuillToolbarSelectAlignmentButtonOptions.new({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 display a different widget based using a builder
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 classfinalinherited -
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
- 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
- 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
Methods
-
copyWith(
{QuillSelectAlignmentValues< IconData> ? iconsData, QuillSelectAlignmentValues<String> ? tooltips, List<Attribute> ? attributes, bool? showLeftAlignment, bool? showCenterAlignment, bool? showRightAlignment, bool? showJustifyAlignment}) → QuillToolbarSelectAlignmentButtonOptions -
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