Loader constructor

const Loader({
  1. Key? key,
  2. required ValueListenable<bool> value,
  3. required Widget page,
  4. Color? color,
  5. int milliseconds = 500,
  6. Curve curve = Curves.easeInOut,
  7. IconData? icon,
  8. double? iconSize,
  9. String? imagePath,
  10. double? imageSize,
})

Creates a Loader widget.

The value and page parameters are required.

Implementation

const Loader({
  super.key,
  required this.value,
  required this.page,
  this.color,
  this.milliseconds = 500,
  this.curve = Curves.easeInOut,
  this.icon,
  this.iconSize,
  this.imagePath,
  this.imageSize,
});