copyWith method
QuillToolbarSelectAlignmentButtonOptions
copyWith({
- QuillSelectAlignmentValues<
IconData> ? iconsData, - QuillSelectAlignmentValues<
String> ? tooltips, - List<
Attribute> ? attributes, - bool? showLeftAlignment,
- bool? showCenterAlignment,
- bool? showRightAlignment,
- bool? showJustifyAlignment,
Implementation
QuillToolbarSelectAlignmentButtonOptions copyWith({
QuillSelectAlignmentValues<IconData>? iconsData,
QuillSelectAlignmentValues<String>? tooltips,
List<Attribute>? attributes,
bool? showLeftAlignment,
bool? showCenterAlignment,
bool? showRightAlignment,
bool? showJustifyAlignment,
}) {
return QuillToolbarSelectAlignmentButtonOptions(
iconsData: iconsData ?? this.iconsData,
tooltips: tooltips ?? this.tooltips,
attributes: attributes ?? this.attributes,
showLeftAlignment: showLeftAlignment ?? this.showLeftAlignment,
showCenterAlignment: showCenterAlignment ?? this.showCenterAlignment,
showRightAlignment: showRightAlignment ?? this.showRightAlignment,
showJustifyAlignment: showJustifyAlignment ?? this.showJustifyAlignment,
);
}