QuillFontSizeButton constructor
const
QuillFontSizeButton({
- required Map<
String, String> rawItemsMap, - required Attribute attribute,
- required QuillController controller,
- ValueChanged<
String> ? onSelected, - @Deprecated('It is not required because of `rawItemsMap`') List<
PopupMenuEntry< ? items,String> > - double iconSize = 40,
- Color? fillColor,
- double hoverElevation = 1,
- double highlightElevation = 1,
- QuillIconTheme? iconTheme,
- VoidCallback? afterButtonPressed,
- String? tooltip,
- EdgeInsetsGeometry? padding,
- TextStyle? style,
- double? width,
- String? initialValue,
- TextOverflow labelOverflow = TextOverflow.visible,
- double? itemHeight,
- EdgeInsets? itemPadding,
- Color? defaultItemColor = Colors.red,
- Key? key,
Implementation
const QuillFontSizeButton({
required this.rawItemsMap,
required this.attribute,
required this.controller,
this.onSelected,
@Deprecated('It is not required because of `rawItemsMap`') this.items,
this.iconSize = 40,
this.fillColor,
this.hoverElevation = 1,
this.highlightElevation = 1,
this.iconTheme,
this.afterButtonPressed,
this.tooltip,
this.padding,
this.style,
this.width,
this.initialValue,
this.labelOverflow = TextOverflow.visible,
this.itemHeight,
this.itemPadding,
this.defaultItemColor = Colors.red,
Key? key,
}) : assert(rawItemsMap.length > 0),
assert(initialValue == null || initialValue.length > 0),
super(key: key);