fix splash_screen_page issue

logut
Elham Rababah 6 years ago
parent a0277d39f9
commit 40e822fcb2

@ -34,7 +34,7 @@ class _SplashScreenPageState extends State<SplashScreenPage> {
body: SingleChildScrollView( body: SingleChildScrollView(
child: Center( child: Center(
child: Column( child: Column(
// mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[ children: <Widget>[
FractionallySizedBox( FractionallySizedBox(
widthFactor: 0.80, widthFactor: 0.80,
@ -49,16 +49,16 @@ class _SplashScreenPageState extends State<SplashScreenPage> {
Container( Container(
child: Icon( child: Icon(
DriverApp.logo, DriverApp.logo,
size: 110, size: 120,
color: Colors.white, color: Colors.white,
), ),
margin: EdgeInsets.only( margin: EdgeInsets.only(
right: projectViewModel.isArabic right: projectViewModel.isArabic
? 0 ? 0
: MediaQuery.of(context).size.width * 0.15, : MediaQuery.of(context).size.width * 0.20,
left: !projectViewModel.isArabic left: !projectViewModel.isArabic
? 0 ? 0
: MediaQuery.of(context).size.width * 0.15), : MediaQuery.of(context).size.width * 0.10),
), ),
], ],
), ),
@ -92,7 +92,7 @@ class _SplashScreenPageState extends State<SplashScreenPage> {
], ],
), ),
SizedBox( SizedBox(
height: 280, height: 100,
) )
], ],
), ),

Loading…
Cancel
Save