copyWith method

PickerTitleConfig copyWith({
  1. Widget? cancel,
  2. Widget? confirm,
  3. Widget? title,
  4. bool? showTitle,
  5. String? titleContent,
})

Implementation

PickerTitleConfig copyWith({
  Widget? cancel,
  Widget? confirm,
  Widget? title,
  bool? showTitle,
  String? titleContent,
}) {
  return PickerTitleConfig(
    cancel: cancel ?? this.cancel,
    confirm: confirm ?? this.confirm,
    title: title ?? this.title,
    showTitle: showTitle ?? this.showTitle,
    titleContent: titleContent ?? this.titleContent,
  );
}