feat: official Aira AI Flutter mobile application with sovereign branding, APK launcher icons and permissions
This commit is contained in:
commit
abbee4b846
28 files changed
+820
No files matched your search
@@ -0,0 +1,42 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'config/app_config.dart';
|
||||
import 'screens/splash_screen.dart';
|
||||
|
||||
void main() {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
|
||||
// Set preferred orientations
|
||||
SystemChrome.setPreferredOrientations([
|
||||
DeviceOrientation.portraitUp,
|
||||
DeviceOrientation.portraitDown,
|
||||
]);
|
||||
|
||||
runApp(const AiraAIApp());
|
||||
}
|
||||
|
||||
class AiraAIApp extends StatelessWidget {
|
||||
const AiraAIApp({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
title: AppConfig.appName,
|
||||
debugShowCheckedModeBanner: false,
|
||||
themeMode: ThemeMode.dark,
|
||||
darkTheme: ThemeData(
|
||||
brightness: Brightness.dark,
|
||||
scaffoldBackgroundColor: const Color(0xFF09090B),
|
||||
colorScheme: const ColorScheme.dark(
|
||||
primary: Color(0xFF3B82F6),
|
||||
secondary: Color(0xFF2563EB),
|
||||
surface: Color(0xFF18181B),
|
||||
background: Color(0xFF09090B),
|
||||
),
|
||||
fontFamily: 'Roboto',
|
||||
useMaterial3: true,
|
||||
),
|
||||
home: const SplashScreen(),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user