40528238b2
flutter create (com.airkjw.blockseasons, iOS+Android), Riverpod, shared_preferences, audioplayers, gen-l10n EN/KO wiring, app shell with Home -> Game placeholder. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
33 lines
993 B
Dart
33 lines
993 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_localizations/flutter_localizations.dart';
|
|
|
|
import 'l10n/gen/app_localizations.dart';
|
|
import 'ui/screens/home_screen.dart';
|
|
|
|
class BlockSeasonsApp extends StatelessWidget {
|
|
const BlockSeasonsApp({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
onGenerateTitle: (context) => AppLocalizations.of(context)!.appTitle,
|
|
debugShowCheckedModeBanner: false,
|
|
localizationsDelegates: const [
|
|
AppLocalizations.delegate,
|
|
GlobalMaterialLocalizations.delegate,
|
|
GlobalWidgetsLocalizations.delegate,
|
|
GlobalCupertinoLocalizations.delegate,
|
|
],
|
|
supportedLocales: const [Locale('en'), Locale('ko')],
|
|
theme: ThemeData(
|
|
colorScheme: ColorScheme.fromSeed(
|
|
seedColor: const Color(0xFF5B7FFF),
|
|
brightness: Brightness.dark,
|
|
),
|
|
useMaterial3: true,
|
|
),
|
|
home: const HomeScreen(),
|
|
);
|
|
}
|
|
}
|