copyWith method
QuillToolbarFontSizeButtonOptions
copyWith({
- double? iconSize,
- double? iconButtonFactor,
- double? hoverElevation,
- double? highlightElevation,
- List<
PopupMenuEntry< ? items,String> > - Map<
String, String> ? rawItemsMap, - ValueChanged<
String> ? onSelected, - Attribute? attribute,
- EdgeInsetsGeometry? padding,
- TextStyle? style,
- double? width,
- String? initialValue,
- TextOverflow? labelOverflow,
- double? itemHeight,
- EdgeInsets? itemPadding,
- Color? defaultItemColor,
- VoidCallback? afterButtonPressed,
- String? tooltip,
- OutlinedBorder? shape,
- String? defaultDisplayText,
Implementation
QuillToolbarFontSizeButtonOptions copyWith({
double? iconSize,
double? iconButtonFactor,
double? hoverElevation,
double? highlightElevation,
List<PopupMenuEntry<String>>? items,
Map<String, String>? rawItemsMap,
ValueChanged<String>? onSelected,
Attribute? attribute,
EdgeInsetsGeometry? padding,
TextStyle? style,
double? width,
String? initialValue,
TextOverflow? labelOverflow,
double? itemHeight,
EdgeInsets? itemPadding,
Color? defaultItemColor,
VoidCallback? afterButtonPressed,
String? tooltip,
OutlinedBorder? shape,
String? defaultDisplayText,
}) {
return QuillToolbarFontSizeButtonOptions(
iconSize: iconSize ?? this.iconSize,
iconButtonFactor: iconButtonFactor ?? this.iconButtonFactor,
rawItemsMap: rawItemsMap ?? this.rawItemsMap,
onSelected: onSelected ?? this.onSelected,
attribute: attribute ?? this.attribute,
padding: padding ?? this.padding,
style: style ?? this.style,
// ignore: deprecated_member_use_from_same_package
width: width ?? this.width,
initialValue: initialValue ?? this.initialValue,
labelOverflow: labelOverflow ?? this.labelOverflow,
// ignore: deprecated_member_use_from_same_package
itemHeight: itemHeight ?? this.itemHeight,
// ignore: deprecated_member_use_from_same_package
itemPadding: itemPadding ?? this.itemPadding,
defaultItemColor: defaultItemColor ?? this.defaultItemColor,
tooltip: tooltip ?? super.tooltip,
afterButtonPressed: afterButtonPressed ?? super.afterButtonPressed,
defaultDisplayText: defaultDisplayText ?? this.defaultDisplayText,
);
}