kCircularLoader function

dynamic kCircularLoader({
  1. dynamic context,
  2. dynamic height = 25.0,
  3. dynamic width = 25.0,
  4. dynamic color = whiteColor,
})

show const circular loader

Implementation

kCircularLoader({context, height = 25.0, width = 25.0, color = whiteColor}) =>
    Container(
        height: height,
        width: width,
        child: CircularProgressIndicator(
            strokeWidth: 6, valueColor: AlwaysStoppedAnimation<Color>(color)));