copyWith method

LoadingThemeData copyWith({
  1. Color? backgroundColor,
  2. Color? loadingBackgroundColor,
  3. EdgeInsets? loadingPadding,
  4. Size? loadingSize,
  5. bool? tapDismiss,
  6. Duration? animDuration,
  7. BorderRadiusGeometry? borderRadius,
})

Implementation

LoadingThemeData copyWith({
  Color? backgroundColor,
  Color? loadingBackgroundColor,
  EdgeInsets? loadingPadding,
  Size? loadingSize,
  bool? tapDismiss,
  Duration? animDuration,
  BorderRadiusGeometry? borderRadius,
}) {
  return LoadingThemeData.raw(
    backgroundColor ?? this.backgroundColor,
    loadingBackgroundColor ?? this.loadingBackgroundColor,
    loadingPadding ?? this.loadingPadding,
    loadingSize ?? this.loadingSize,
    tapDismiss ?? this.tapDismiss,
    animDuration ?? this.animDuration,
    borderRadius ?? this.borderRadius,
  );
}