- splash → intro → 5-step quiz → result screen - Plus Jakarta Sans typography, indigo brand system - animated quiz rows, multi-select concerns, progress bar - Shaynee mascot reveal on result screen only - flutter_animate for all transitions
28 lines
710 B
Dart
28 lines
710 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter/services.dart';
|
|
import 'theme.dart';
|
|
import 'screens/splash_screen.dart';
|
|
|
|
void main() {
|
|
WidgetsFlutterBinding.ensureInitialized();
|
|
SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
|
|
SystemChrome.setSystemUIOverlayStyle(
|
|
const SystemUiOverlayStyle(statusBarBrightness: Brightness.dark),
|
|
);
|
|
runApp(const ShayneeApp());
|
|
}
|
|
|
|
class ShayneeApp extends StatelessWidget {
|
|
const ShayneeApp({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
title: 'Shaynee',
|
|
debugShowCheckedModeBanner: false,
|
|
theme: buildTheme(),
|
|
home: const SplashScreen(),
|
|
);
|
|
}
|
|
}
|