Loading constructor

Loading({
  1. Indicator? indicator,
  2. double size = 50.0,
  3. Color color = Colors.white,
})

Implementation

Loading({this.indicator, this.size = 50.0, this.color = Colors.white}) {
  if (indicator == null) {
    indicator = BallScaleIndicator();
  } else {
    this.indicator = indicator;
  }
}