SquareLineIndicator constructor

const SquareLineIndicator({
  1. Key? key,
  2. double size = 35,
  3. Color color = const Color(0xFF046D8B),
  4. Duration duration = const Duration(seconds: 1),
  5. double strokeWidth = 4,
})

Creates a square line loading indicator.

size - The width and height of the square (default: 35) color - The color of the outline (default: Color(0xFF046D8B)) duration - Animation cycle duration (default: 1 second) strokeWidth - Width of the line stroke (default: 4)

Implementation

const SquareLineIndicator({
  super.key,
  this.size = 35,
  this.color = const Color(0xFF046D8B),
  this.duration = const Duration(seconds: 1),
  this.strokeWidth = 4,
});