copyWith method
Copies this appearance, replacing supplied values.
Implementation
SafaehFloatingAppearance copyWith({
SafaehFloatingSurfaceStyle? style,
double? transparency,
double? blurSigma,
Color? tintColor,
BoxBorder? border,
List<BoxShadow>? shadows,
}) {
return SafaehFloatingAppearance(
style: style ?? this.style,
transparency: transparency ?? this.transparency,
blurSigma: blurSigma ?? this.blurSigma,
tintColor: tintColor ?? this.tintColor,
border: border ?? this.border,
shadows: shadows ?? this.shadows,
);
}