LoadingFilling.square constructor

const LoadingFilling.square({
  1. Key? key,
  2. AnimationController? controller,
  3. Color backgroundColor = Colors.transparent,
  4. Color borderColor = Colors.blueGrey,
  5. Color fillingColor = Colors.blueGrey,
  6. double size = 50.0,
  7. double? borderSize,
  8. IndexedWidgetBuilder? itemBuilder,
  9. Duration duration = const Duration(milliseconds: 3000),
})

Creates the LoadingFilling animation with a square shape

Implementation

const LoadingFilling.square({
  Key? key,
  this.controller,
  this.backgroundColor = Colors.transparent,
  this.borderColor = Colors.blueGrey,
  this.fillingColor = Colors.blueGrey,
  this.size = 50.0,
  this.borderSize,
  this.itemBuilder,
  this.duration = const Duration(milliseconds: 3000),
})  : _shape = BoxShape.rectangle,
      super(key: key);