Новые ассеты, диалог выглядит в стиле приложения
This commit is contained in:
@@ -18,10 +18,15 @@ class SplashScreen extends StatelessWidget {
|
||||
showNextScreen(context);
|
||||
});
|
||||
|
||||
return new Stack(children: <Widget>[getBackgroundContainer(),
|
||||
return new Stack(children: <Widget>[getBackgroundContainer(), getLogo(),
|
||||
new Align(alignment: FractionalOffset.bottomRight, child:
|
||||
new Container(margin: new EdgeInsets.only(right: 11.0, bottom: 5.0), child: new Image.asset(powered_by_dinect_splash_png, height: 16.0, width: 122.0))),
|
||||
new Center(child: new Image.asset(splash_logo_png, height: 198.0, width: 252.0))]);
|
||||
new Container(margin: new EdgeInsets.only(right: 11.0, bottom: 5.0), child: new Image.asset(powered_by_dinect_splash_png, height: 16.0, width: 122.0)))]);
|
||||
}
|
||||
|
||||
getLogo() {
|
||||
return new Center(child: new Column(mainAxisSize: MainAxisSize.min,
|
||||
children: <Widget>[new Image.asset(logo_png, height: 112.0, width: 252.0),
|
||||
new Image.asset(splash_text_png, height: 40.0, width: 240.0)]));
|
||||
}
|
||||
|
||||
getBackgroundContainer() {
|
||||
|
||||
Reference in New Issue
Block a user