copyWith method
Returns a copy of this FAvatarStyle with the given properties replaced.
Implementation
@useResult
FAvatarStyle copyWith({
Color? backgroundColor,
Color? foregroundColor,
Duration? fadeInDuration,
TextStyle? text,
}) =>
FAvatarStyle(
backgroundColor: backgroundColor ?? this.backgroundColor,
foregroundColor: foregroundColor ?? this.foregroundColor,
fadeInDuration: fadeInDuration ?? this.fadeInDuration,
text: text ?? this.text,
);