copyWith method
Implementation
LoadingScreenConfig copyWith({
Color? backgroundColor,
Color? progressColor,
Color? textColor,
String? loadingText,
double? logoSize,
TextStyle? textStyle,
Widget? logoWidget,
double? progressIndicatorSize,
}) {
return LoadingScreenConfig(
backgroundColor: backgroundColor ?? this.backgroundColor,
progressColor: progressColor ?? this.progressColor,
textColor: textColor ?? this.textColor,
loadingText: loadingText ?? this.loadingText,
logoSize: logoSize ?? this.logoSize,
textStyle: textStyle ?? this.textStyle,
logoWidget: logoWidget ?? this.logoWidget,
progressIndicatorSize:
progressIndicatorSize ?? this.progressIndicatorSize,
);
}