loader static method

dynamic loader({
  1. dynamic color,
})

Implementation

static loader({color}) {
  return CircularProgressIndicator(
    color: color ?? CommonColors.primaryColor,
  );
}