kThreeDotsLoader function

dynamic kThreeDotsLoader({
  1. dynamic context,
  2. dynamic color = blueColor,
  3. 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)));
                    }))));