copyWith method

SheenStrings copyWith({
  1. String? cancel,
  2. String? done,
  3. String? search,
  4. String? clear,
  5. String? close,
  6. String? back,
  7. String? showPassword,
  8. String? hidePassword,
  9. String? next,
  10. String? previous,
  11. String? more,
  12. String? selected,
})

A copy with the given strings replaced.

Implementation

SheenStrings copyWith({
  String? cancel,
  String? done,
  String? search,
  String? clear,
  String? close,
  String? back,
  String? showPassword,
  String? hidePassword,
  String? next,
  String? previous,
  String? more,
  String? selected,
}) => SheenStrings(
  cancel: cancel ?? this.cancel,
  done: done ?? this.done,
  search: search ?? this.search,
  clear: clear ?? this.clear,
  close: close ?? this.close,
  back: back ?? this.back,
  showPassword: showPassword ?? this.showPassword,
  hidePassword: hidePassword ?? this.hidePassword,
  next: next ?? this.next,
  previous: previous ?? this.previous,
  more: more ?? this.more,
  selected: selected ?? this.selected,
);