FlippingSquareIndicator constructor
const
FlippingSquareIndicator({})
Creates a flipping square loading indicator.
size - The width and height of the container (default: 60)
color - The color of the square (default: Colors.black)
duration - Animation cycle duration (default: 1200ms)
Implementation
const FlippingSquareIndicator({
super.key,
this.size = 60,
this.color = Colors.black,
this.duration = const Duration(milliseconds: 1200),
});