buildBody method
Implementation
Widget buildBody(BuildContext context){
return Stack(
children: <Widget>[
AnimatedOpacity(
opacity: finishLoading ? 1.0 : 0.0,
duration: Duration(milliseconds: 500),
child: buildList(context),
),
AnimatedOpacity(
opacity: finishLoading ? 0.0 : 1.0,
duration: Duration(milliseconds: 500),
child: buildLoading(context),
),
],
);
}