SmartLoadingParams constructor

SmartLoadingParams({
  1. Icon? icon,
  2. Color? backgroundColor,
})

Creates a SmartLoadingParams instance.

Both parameters are optional:

  • icon: Custom loading icon (default: spinning refresh icon)
  • backgroundColor: Overlay background color (default: white)

Implementation

SmartLoadingParams({this.icon, this.backgroundColor});