feat: Add Intaleq Native Android Kotlin & iOS Swift SDKs, Incline slope routing, Topographic contours and modular tactical app
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_localizations/flutter_localizations.dart';
|
||||
import 'screens/tactical_map_screen.dart';
|
||||
import 'services/landmark_database.dart';
|
||||
import 'services/offline_routing_engine.dart';
|
||||
|
||||
void main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
await LandmarkDatabase.initCache();
|
||||
OfflineRoutingEngine.initialize();
|
||||
runApp(const TacticalApp());
|
||||
}
|
||||
|
||||
class TacticalApp extends StatelessWidget {
|
||||
const TacticalApp({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
title: 'منظومة الخرائط التكتيكية والملاحة الميدانية - Intaleq Tactical Navigation',
|
||||
debugShowCheckedModeBanner: false,
|
||||
locale: const Locale('ar', 'JO'),
|
||||
supportedLocales: const [
|
||||
Locale('ar', 'JO'),
|
||||
Locale('en', 'US'),
|
||||
],
|
||||
localizationsDelegates: const [
|
||||
GlobalMaterialLocalizations.delegate,
|
||||
GlobalWidgetsLocalizations.delegate,
|
||||
GlobalCupertinoLocalizations.delegate,
|
||||
],
|
||||
theme: ThemeData(
|
||||
useMaterial3: true,
|
||||
brightness: Brightness.dark,
|
||||
scaffoldBackgroundColor: const Color(0xFF090E17),
|
||||
colorScheme: const ColorScheme.dark(
|
||||
primary: Color(0xFF0071E3),
|
||||
secondary: Color(0xFF4ADE80),
|
||||
surface: Color(0xFF0F172A),
|
||||
),
|
||||
),
|
||||
home: const TacticalMapScreen(),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user