Smoth screen changes. Step 1

This commit is contained in:
Ivan Murashov
2018-03-08 23:53:31 +03:00
parent cfdf5dcca2
commit 58e58671de
13 changed files with 238 additions and 209 deletions

View File

@@ -25,8 +25,10 @@ abstract class BaseState<T extends StatefulWidget> extends State<T> {
/// Введенное пользователем значение.
String merchantID = '';
BaseState(this.helper, this.app);
Widget getMainWidget() {
return app == null ? getBackground() : new Scaffold(appBar: getAppBar(),
return new Scaffold(appBar: getAppBar(),
body: new Stack(children: <Widget>[
getScreenContent(),
new Center(child: loading ? new CircularProgressIndicator() : null)