copyWith method
NativeWidgetOptions
copyWith(
{ - String? locale,
- String? title,
- String? subtitle,
- Map<String, Object?>? appearance,
- Map<String, Object?>? platform,
- bool? reduceMotion,
- String? view,
- String? articleId,
- Map<String, Object?>? context,
- List<String>? hostActionIds,
})
Implementation
NativeWidgetOptions copyWith({
String? locale,
String? title,
String? subtitle,
Map<String, Object?>? appearance,
Map<String, Object?>? platform,
bool? reduceMotion,
String? view,
String? articleId,
Map<String, Object?>? context,
List<String>? hostActionIds,
}) =>
NativeWidgetOptions(
locale: locale ?? this.locale,
title: title ?? this.title,
subtitle: subtitle ?? this.subtitle,
appearance: appearance ?? this.appearance,
platform: platform ?? this.platform,
reduceMotion: reduceMotion ?? this.reduceMotion,
view: view ?? this.view,
articleId: articleId ?? this.articleId,
context: context ?? this.context,
hostActionIds: hostActionIds ?? this.hostActionIds,
);