copyWith method
NativeOverlayStyle
copyWith({
- NativeContainerStyle? container,
- NativeContentStyle? content,
- NativeButtonStyle? button,
- NativeAvatarStyle? avatar,
- NativeProgressStyle? progress,
Creates a copy of this style with the given fields replaced.
Implementation
NativeOverlayStyle copyWith({
NativeContainerStyle? container,
NativeContentStyle? content,
NativeButtonStyle? button,
NativeAvatarStyle? avatar,
NativeProgressStyle? progress,
}) {
return NativeOverlayStyle(
container: container ?? this.container,
content: content ?? this.content,
button: button ?? this.button,
avatar: avatar ?? this.avatar,
progress: progress ?? this.progress,
);
}