Loader constructor

const Loader({
  1. Key? key,
  2. required bool isLoading,
  3. required Widget child,
  4. SelectLoaderType loaderType = SelectLoaderType.neonGlow,
  5. double size = 80,
  6. Color color = Colors.blue,
  7. String? gifPath,
  8. bool assetGif = false,
})

Implementation

const Loader({
  super.key,
  required this.isLoading,
  required this.child,
  this.loaderType = SelectLoaderType.neonGlow,
  this.size = 80,
  this.color = Colors.blue,
  this.gifPath,
  this.assetGif = false,
});