loadingIndicator static method

Widget loadingIndicator(
  1. Color color
)

Loading Indicator with given Color code

Implementation

static Widget loadingIndicator(Color color) {
  return Container(
      padding: EdgeInsets.fromLTRB(0, 10, 0, 10),
      child: Center(
          child: CircularProgressIndicator(
              valueColor: new AlwaysStoppedAnimation<Color>(color))));
}