-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
splash_page.dart
31 lines (30 loc) · 901 Bytes
/
splash_page.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import 'package:flutter/material.dart';
import 'package:shiori/domain/app_constants.dart';
import 'package:shiori/domain/assets.dart';
class SplashPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Expanded(
child: Container(
margin: const EdgeInsets.all(10),
child: Image.asset(
Assets.getCharacterFullPath('Paimon$imageFileExtension'),
fit: BoxFit.scaleDown,
),
),
),
Container(
margin: const EdgeInsets.only(bottom: 10),
child: const CircularProgressIndicator(
valueColor: AlwaysStoppedAnimation<Color>(Colors.white),
),
),
],
),
);
}
}