loadingView method
- double size
return a progress indicator with size size
Implementation
static material.Widget loadingView(double size) {
return material.Theme(
data: material.ThemeData(accentColor: Colors.white),
child: Center(
child: Container(
width: size,
height: size,
child: material.CircularProgressIndicator()),
),
);
}