copyWith method
ColorPickerActionButtons
copyWith({
- bool? okButton,
- bool? closeButton,
- IconData? okIcon,
- IconData? closeIcon,
- bool? closeIsLast,
- String? okTooltip,
- String? closeTooltip,
- bool? closeTooltipIsClose,
- IconThemeData? toolIconsThemeData,
- VisualDensity? visualDensity,
- EdgeInsetsGeometry? padding,
- AlignmentGeometry? alignment,
- double? splashRadius,
- BoxConstraints? constraints,
- bool? dialogActionButtons,
- bool? dialogActionOnlyOkButton,
- ColorPickerActionButtonOrder? dialogActionOrder,
- bool? dialogActionIcons,
- String? dialogCancelButtonLabel,
- ColorPickerActionButtonType? dialogCancelButtonType,
- String? dialogOkButtonLabel,
- ColorPickerActionButtonType? dialogOkButtonType,
Copy the object with one or more provided properties changed.
Implementation
ColorPickerActionButtons copyWith({
bool? okButton,
bool? closeButton,
IconData? okIcon,
IconData? closeIcon,
bool? closeIsLast,
String? okTooltip,
String? closeTooltip,
bool? closeTooltipIsClose,
IconThemeData? toolIconsThemeData,
VisualDensity? visualDensity,
EdgeInsetsGeometry? padding,
AlignmentGeometry? alignment,
double? splashRadius,
BoxConstraints? constraints,
bool? dialogActionButtons,
bool? dialogActionOnlyOkButton,
ColorPickerActionButtonOrder? dialogActionOrder,
bool? dialogActionIcons,
String? dialogCancelButtonLabel,
ColorPickerActionButtonType? dialogCancelButtonType,
String? dialogOkButtonLabel,
ColorPickerActionButtonType? dialogOkButtonType,
bool? useRootNavigator,
}) {
return ColorPickerActionButtons(
okButton: okButton ?? this.okButton,
closeButton: closeButton ?? this.closeButton,
okIcon: okIcon ?? this.okIcon,
closeIcon: closeIcon ?? this.closeIcon,
closeIsLast: closeIsLast ?? this.closeIsLast,
okTooltip: okTooltip ?? this.okTooltip,
closeTooltip: closeTooltip ?? this.closeTooltip,
closeTooltipIsClose: closeTooltipIsClose ?? this.closeTooltipIsClose,
toolIconsThemeData: toolIconsThemeData ?? this.toolIconsThemeData,
visualDensity: visualDensity ?? this.visualDensity,
padding: padding ?? this.padding,
alignment: alignment ?? this.alignment,
splashRadius: splashRadius ?? this.splashRadius,
constraints: constraints ?? this.constraints,
dialogActionButtons: dialogActionButtons ?? this.dialogActionButtons,
dialogActionOnlyOkButton:
dialogActionOnlyOkButton ?? this.dialogActionOnlyOkButton,
dialogActionOrder: dialogActionOrder ?? this.dialogActionOrder,
dialogActionIcons: dialogActionIcons ?? this.dialogActionIcons,
dialogCancelButtonLabel:
dialogCancelButtonLabel ?? this.dialogCancelButtonLabel,
dialogCancelButtonType:
dialogCancelButtonType ?? this.dialogCancelButtonType,
dialogOkButtonLabel: dialogOkButtonLabel ?? this.dialogOkButtonLabel,
dialogOkButtonType: dialogOkButtonType ?? this.dialogOkButtonType,
useRootNavigator: useRootNavigator ?? this.useRootNavigator,
);
}