LoadingBouncingLine.square constructor

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

Creates the LoadingBouncingLine animation with a square shape

Implementation

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