46 lines
1.4 KiB
Dart
46 lines
1.4 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter/services.dart';
|
|
|
|
import '../widgets/tp_logo.dart';
|
|
|
|
/// The first Flutter frame while saved data and reminder services initialize.
|
|
class TpLaunchPage extends StatelessWidget {
|
|
const TpLaunchPage({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) => AnnotatedRegion<SystemUiOverlayStyle>(
|
|
value: const SystemUiOverlayStyle(
|
|
statusBarColor: Colors.transparent,
|
|
statusBarIconBrightness: Brightness.light,
|
|
statusBarBrightness: Brightness.dark,
|
|
systemNavigationBarColor: Color(0xFF38B3FF),
|
|
systemNavigationBarIconBrightness: Brightness.light,
|
|
),
|
|
child: Scaffold(
|
|
backgroundColor: const Color(0xFF38B3FF),
|
|
body: DecoratedBox(
|
|
decoration: const BoxDecoration(gradient: tpBrandGradient),
|
|
child: SizedBox.expand(
|
|
child: Center(
|
|
child: Column(
|
|
mainAxisSize: MainAxisSize.min,
|
|
children: [
|
|
const TpLogo(size: 120, background: false),
|
|
const SizedBox(height: 20),
|
|
Text(
|
|
'TPSchedule',
|
|
style: Theme.of(context).textTheme.headlineSmall?.copyWith(
|
|
color: Colors.white,
|
|
fontWeight: FontWeight.w600,
|
|
letterSpacing: 0.4,
|
|
),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|