|
|
|
|
@ -42,14 +42,18 @@ class _NetworkBaseViewState extends State<NetworkBaseView>{
|
|
|
|
|
return widget.child;
|
|
|
|
|
break;
|
|
|
|
|
case ViewState.Busy:
|
|
|
|
|
return Stack(
|
|
|
|
|
children: [
|
|
|
|
|
Container(
|
|
|
|
|
height: MediaQuery.of(context).size.height,
|
|
|
|
|
color: Colors.grey.withOpacity(0.6),
|
|
|
|
|
),
|
|
|
|
|
GifLoaderContainer()
|
|
|
|
|
],
|
|
|
|
|
return Container(
|
|
|
|
|
height: MediaQuery.of(context).size.height,
|
|
|
|
|
|
|
|
|
|
child: Stack(
|
|
|
|
|
children: [
|
|
|
|
|
Container(
|
|
|
|
|
color: Colors.grey.withOpacity(0.6),
|
|
|
|
|
),
|
|
|
|
|
Container(child: GifLoaderContainer(), margin: EdgeInsets.only(
|
|
|
|
|
bottom: MediaQuery.of(context).size.height * 0.09))
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
break;
|
|
|
|
|
case ViewState.Error:
|
|
|
|
|
|