GFLoader constructor
const
GFLoader({
- Key? key,
- Color loaderColorOne = Colors.redAccent,
- Color loaderColorTwo = Colors.green,
- Color loaderColorThree = Colors.blueAccent,
- Duration duration = const Duration(milliseconds: 1000),
- GFLoaderType type = GFLoaderType.android,
- Widget? loaderIconOne,
- Widget? loaderIconTwo,
- Widget? loaderIconThree,
- Animation<
Color> ? androidLoaderColor, - double loaderstrokeWidth = 4.0,
- double size = GFSize.MEDIUM,
- Widget? child,
GFLoader shows differnt type of loaders with different customization options.
Implementation
const GFLoader(
{Key? key,
this.loaderColorOne = Colors.redAccent,
this.loaderColorTwo = Colors.green,
this.loaderColorThree = Colors.blueAccent,
this.duration = const Duration(milliseconds: 1000),
this.type = GFLoaderType.android,
this.loaderIconOne,
this.loaderIconTwo,
this.loaderIconThree,
this.androidLoaderColor,
this.loaderstrokeWidth = 4.0,
this.size = GFSize.MEDIUM,
this.child})
: super(key: key);