QuillToolbarFontFamilyButtonOptions class

Inheritance

Constructors

QuillToolbarFontFamilyButtonOptions({Attribute attribute = Attribute.font, Map<String, String>? rawItemsMap, IconData? iconData, VoidCallback? afterButtonPressed, String? tooltip, QuillIconTheme? iconTheme, QuillToolbarButtonOptionsChildBuilder<QuillToolbarFontFamilyButtonOptions, QuillToolbarFontFamilyButtonExtraOptions>? childBuilder, ValueChanged<String>? onSelected, EdgeInsetsGeometry? padding, TextStyle? style, double? width, String? initialValue, TextOverflow labelOverflow = TextOverflow.visible, bool overrideTooltipByFontFamily = false, double? itemHeight, EdgeInsets? itemPadding, Color? defaultItemColor = Colors.red, bool renderFontFamilies = true, double? iconSize, double? iconButtonFactor, String? defaultDisplayText})
const

Properties

afterButtonPressed VoidCallback?
To do extra logic after pressing the button
finalinherited
attribute Attribute
final
childBuilder QuillToolbarButtonOptionsChildBuilder<QuillToolbarFontFamilyButtonOptions, QuillToolbarFontFamilyButtonExtraOptions>?
If you want to dispaly a differnet widget based using a builder
finalinherited
defaultDisplayText String?
final
defaultItemColor Color?
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 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
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
initialValue String?
final
itemHeight double?
final
itemPadding EdgeInsets?
final
labelOverflow TextOverflow
final
onSelected ValueChanged<String>?
final
overrideTooltipByFontFamily bool
final
padding EdgeInsetsGeometry?
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setterinherited
rawItemsMap Map<String, String>?
By default it will be fontFamilyValues from QuillSimpleToolbarConfigurations You can override this if you want
final
renderFontFamilies bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
style TextStyle?
final
tooltip String?
By default it will use the default tooltip which already localized
finalinherited
width double?
final

Methods

copyWith({List<PopupMenuEntry<String>>? items, Map<String, String>? rawItemsMap, ValueChanged<String>? onSelected, Attribute? attribute, EdgeInsetsGeometry? padding, TextStyle? style, double? width, String? initialValue, TextOverflow? labelOverflow, bool? renderFontFamilies, bool? overrideTooltipByFontFamily, double? itemHeight, EdgeInsets? itemPadding, Color? defaultItemColor, double? iconSize, double? iconButtonFactor, IconData? iconData, VoidCallback? afterButtonPressed, String? tooltip, QuillIconTheme? iconTheme, String? defaultDisplayText}) QuillToolbarFontFamilyButtonOptions
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