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