copyWith method

LoadingOverlayStyle copyWith({
  1. Color? loadingColor,
  2. Color? backgroundColor,
  3. double? loadingSize,
  4. int? loadingIndex,
  5. BorderRadius? borderRadius,
  6. BoxConstraints? constraints,
  7. TextStyle? hintStyle,
  8. double? space,
  9. int? hintMaxLines,
})

Implementation

LoadingOverlayStyle copyWith({
  Color? loadingColor,
  Color? backgroundColor,
  double? loadingSize,
  int? loadingIndex,
  BorderRadius? borderRadius,
  BoxConstraints? constraints,
  TextStyle? hintStyle,
  double? space,
  int? hintMaxLines,
}) {
  return LoadingOverlayStyle(
    loadingColor: loadingColor ?? this.loadingColor,
    backgroundColor: backgroundColor ?? this.backgroundColor,
    loadingSize: loadingSize ?? this.loadingSize,
    loadingIndex: loadingIndex ?? this.loadingIndex,
    borderRadius: borderRadius ?? this.borderRadius,
    constraints: constraints ?? this.constraints,
    hintStyle: hintStyle ?? this.hintStyle,
    space: space ?? this.space,
    hintMaxLines: hintMaxLines ?? this.hintMaxLines,
  );
}