copyWith method

LoadingOptions copyWith({
  1. BoxConstraints? constraints,
  2. EdgeInsetsGeometry? padding,
  3. LoadingBuilder? builder,
  4. ProgressIndicatorOptions? progressIndicator,
  5. TextStyle? textStyle,
  6. GestureTapCallback? onLoadingTap,
  7. bool? ignoring,
  8. bool? absorbing,
  9. double? gaussian,
  10. AlignmentGeometry? alignment,
  11. GestureTapCallback? onModalTap,
  12. Color? backgroundColor,
  13. Color? foregroundColor,
  14. double? elevation,
  15. Color? shadowColor,
  16. ShapeBorder? shape,
  17. bool? borderOnForeground,
  18. BorderRadiusGeometry? borderRadius,
  19. bool? safeLTRB,
  20. bool? resizeToAvoidBottomInset,
  21. Duration? insetAnimationDuration,
  22. Curve? insetAnimationCurve,
})

Implementation

LoadingOptions copyWith({
  BoxConstraints? constraints,
  EdgeInsetsGeometry? padding,
  LoadingBuilder? builder,
  ProgressIndicatorOptions? progressIndicator,
  TextStyle? textStyle,
  GestureTapCallback? onLoadingTap,
  bool? ignoring,
  bool? absorbing,
  double? gaussian,
  AlignmentGeometry? alignment,
  GestureTapCallback? onModalTap,
  Color? backgroundColor,
  Color? foregroundColor,
  double? elevation,
  Color? shadowColor,
  ShapeBorder? shape,
  bool? borderOnForeground,
  BorderRadiusGeometry? borderRadius,
  bool? safeLTRB,
  bool? resizeToAvoidBottomInset,
  Duration? insetAnimationDuration,
  Curve? insetAnimationCurve,
}) =>
    LoadingOptions(
      padding: padding ?? this.padding,
      constraints: constraints ?? this.constraints,
      onLoadingTap: onLoadingTap ?? this.onLoadingTap,
      builder: builder ?? this.builder,
      progressIndicator: progressIndicator ?? this.progressIndicator,
      foregroundColor: foregroundColor ?? this.foregroundColor,
      backgroundColor: backgroundColor ?? this.backgroundColor,
      ignoring: ignoring ?? this.ignoring,
      absorbing: absorbing ?? this.absorbing,
      gaussian: gaussian ?? this.gaussian,
      alignment: alignment ?? this.alignment,
      onModalTap: onModalTap ?? this.onModalTap,
      textStyle: textStyle ?? this.textStyle,
      elevation: elevation ?? this.elevation,
      shadowColor: shadowColor ?? this.shadowColor,
      borderRadius: borderRadius ?? this.borderRadius,
      borderOnForeground: borderOnForeground ?? this.borderOnForeground,
      shape: shape ?? this.shape,
      safeLTRB: safeLTRB ?? this.safeLTRB,
      resizeToAvoidBottomInset:
          resizeToAvoidBottomInset ?? this.resizeToAvoidBottomInset,
      insetAnimationDuration:
          insetAnimationDuration ?? this.insetAnimationDuration,
      insetAnimationCurve: insetAnimationCurve ?? this.insetAnimationCurve,
    );