kThreeDotsLoader function
dynamic
kThreeDotsLoader({
- dynamic context,
- dynamic color = blueColor,
- dynamic size = 20.0,
show const three dots loader
Implementation
kThreeDotsLoader({context, color = blueColor, size = 20.0}) =>
Consumer<ThemeProvider>(
builder: (context, model, child) => Container(
child: Center(
child: LoaderThreeBounce(
size: size,
itemBuilder: (BuildContext context, int index) {
return DecoratedBox(
decoration: BoxDecoration(
color: color,
borderRadius: BorderRadius.circular(25.0)));
}))));