copyWith method
LoadingOverlayStyle
copyWith({
- Color? loadingColor,
- Color? backgroundColor,
- double? loadingSize,
- int? loadingIndex,
- BorderRadius? borderRadius,
- BoxConstraints? constraints,
- TextStyle? hintStyle,
- double? space,
- 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,
);
}