SquareLineIndicator constructor
const
SquareLineIndicator({})
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,
});