fix(mobile): Added flutter native splash and splash screens (#1520)

* rebasing

* added launch background image to repository

---------

Co-authored-by: Marty Fuhry <marty@fuhry.farm>
This commit is contained in:
martyfuhry 2023-02-06 01:41:07 -05:00 committed by GitHub
parent 4261fc8a04
commit 527aa61a87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
43 changed files with 373 additions and 156 deletions

View file

@ -56,30 +56,12 @@ class SplashScreenPage extends HookConsumerWidget {
[],
);
return Scaffold(
return const Scaffold(
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
const Image(
image: AssetImage('assets/immich-logo-no-outline.png'),
width: 200,
filterQuality: FilterQuality.high,
),
Padding(
padding: const EdgeInsets.all(16.0),
child: Text(
'IMMICH',
style: TextStyle(
fontFamily: 'SnowburstOne',
fontWeight: FontWeight.bold,
fontSize: 48,
color: Theme.of(context).primaryColor,
),
),
),
],
child: Image(
image: AssetImage('assets/immich-logo-no-outline.png'),
width: 80,
filterQuality: FilterQuality.high,
),
),
);