blob: a51f42560362934efb6a22dc5873033c886e4527 (
plain)
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
|
import 'package:flutter_ics_homescreen/export.dart';
class SplashPage extends StatelessWidget {
const SplashPage({super.key});
static Page<void> page() => const MaterialPage<void>(child: SplashPage());
@override
Widget build(BuildContext context) {
final size = MediaQuery.of(context).size;
debugPrint(size.width.toString());
debugPrint(size.height.toString());
return Stack(
children: [
SizedBox(
width: double.infinity,
height: double.infinity,
child: SvgPicture.asset(
'assets/splashTextures.svg',
alignment: Alignment.center,
),
),
const Center(child: SplashContent()),
],
);
}
}
|