|
|
|
|
@ -1,10 +1,12 @@
|
|
|
|
|
import 'dart:async';
|
|
|
|
|
import 'package:diplomaticquarterapp/pages/landing/landing_page.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
|
|
|
|
|
|
import 'config/shared_pref_kay.dart';
|
|
|
|
|
import 'config/size_config.dart';
|
|
|
|
|
import 'core/service/AuthenticatedUserObject.dart';
|
|
|
|
|
import 'core/viewModels/project_view_model.dart';
|
|
|
|
|
import 'locator.dart';
|
|
|
|
|
@ -46,11 +48,27 @@ class _SplashScreenState extends State<SplashScreen> {
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
return Scaffold(
|
|
|
|
|
backgroundColor: Colors.white,
|
|
|
|
|
body: Center(
|
|
|
|
|
child: Padding(
|
|
|
|
|
padding: const EdgeInsets.all(12.0),
|
|
|
|
|
child: Image.asset('assets/images/DQ/DQ_logo.png'),
|
|
|
|
|
),
|
|
|
|
|
body: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
|
children: [
|
|
|
|
|
SizedBox(height: MediaQuery.of(context).size.height * 0.35,),
|
|
|
|
|
Padding(
|
|
|
|
|
padding: const EdgeInsets.all(25.0),
|
|
|
|
|
child: Image.asset('assets/images/DQ/DQ_logo.png'),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(height: MediaQuery.of(context).size.height * 0.30,),
|
|
|
|
|
Row(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Text(TranslationBase.of(context).poweredBy),
|
|
|
|
|
Image.asset(
|
|
|
|
|
'assets/images/cs_logo_container.png',
|
|
|
|
|
width: 80,
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|