SinglePreloader constructor

const SinglePreloader({
  1. required Widget child,
  2. Widget indicatorWidget = const CircularProgressIndicator(),
  3. Color indicatorColor = Colors.white,
  4. Color containerColor = Colors.grey,
  5. Color backgroundColor = Colors.black54,
  6. Key? key,
})

Implementation

const SinglePreloader({
  required this.child,
  this.indicatorWidget = const CircularProgressIndicator(),
  this.indicatorColor = Colors.white,
  this.containerColor = Colors.grey,
  this.backgroundColor = Colors.black54,
  super.key,
});