copyWith method

LoadingScreenConfig copyWith({
  1. Color? backgroundColor,
  2. Color? progressColor,
  3. Color? textColor,
  4. String? loadingText,
  5. double? logoSize,
  6. TextStyle? textStyle,
  7. Widget? logoWidget,
  8. double? progressIndicatorSize,
})

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,
  );
}