CustomLoading constructor

const CustomLoading(
  1. {Key? key,
  2. int type = 0}
)

Creates a CustomLoading widget.

The type parameter specifies the type of loading animation to display.

  • 0: Smile animation.
  • 1: Icon animation.
  • 2: Normal loading animation with text.

Implementation

const CustomLoading