copyWith method
Implementation
BasePickerTitleConfig copyWith({
Widget? cancel,
String? cancelTitle,
Widget? confirm,
String? confirmTitle,
Widget? title,
bool? showTitle,
String? titleContent,
Color? titleBackgroundColor,
Color? backgroundColor,
}) {
return BasePickerTitleConfig(
cancel: cancel ?? this.cancel,
cancelTitle: cancelTitle ?? this.cancelTitle,
confirm: confirm ?? this.confirm,
confirmTitle: confirmTitle ?? this.confirmTitle,
title: title ?? this.title,
showTitle: showTitle ?? this.showTitle,
titleContent: titleContent ?? this.titleContent,
titleBackgroundColor: titleBackgroundColor ?? this.titleBackgroundColor,
backgroundColor: backgroundColor ?? this.backgroundColor,
);
}