copyWith method
QuillToolbarSelectHeaderStyleDropdownButtonOptions
copyWith({
- ValueChanged<
String> ? onSelected, - List<
Attribute< ? attributes,int> > - TextStyle? style,
- double? iconSize,
- double? iconButtonFactor,
- IconData? iconData,
- VoidCallback? afterButtonPressed,
- String? tooltip,
- QuillIconTheme? iconTheme,
- String? defaultDisplayText,
- double? width,
Implementation
QuillToolbarSelectHeaderStyleDropdownButtonOptions copyWith({
ValueChanged<String>? onSelected,
List<Attribute<int>>? attributes,
TextStyle? style,
double? iconSize,
double? iconButtonFactor,
IconData? iconData,
VoidCallback? afterButtonPressed,
String? tooltip,
QuillIconTheme? iconTheme,
String? defaultDisplayText,
double? width,
}) {
return QuillToolbarSelectHeaderStyleDropdownButtonOptions(
attributes: attributes ?? this.attributes,
iconData: iconData ?? this.iconData,
afterButtonPressed: afterButtonPressed ?? this.afterButtonPressed,
tooltip: tooltip ?? this.tooltip,
iconTheme: iconTheme ?? this.iconTheme,
iconSize: iconSize ?? this.iconSize,
iconButtonFactor: iconButtonFactor ?? this.iconButtonFactor,
defaultDisplayText: defaultDisplayText ?? this.defaultDisplayText,
width: width ?? this.width,
);
}