LoadableView constructor

const LoadableView(
  1. {@required Widget child,
  2. @required bool isLoading,
  3. EdgeInsetsGeometry padding,
  4. Color backgroundColor = Colors.white,
  5. Animation<Color> indicatorColor}
)

Implementation

const LoadableView({
  @required this.child,
  @required this.isLoading,
  this.padding,
  this.backgroundColor = Colors.white,
  this.indicatorColor,
})  : assert(child != null),
      assert(isLoading != null);