Alot of changes
This commit is contained in:
@@ -4,10 +4,13 @@ import 'package:bus_infotainment/pages/audio_cache_test.dart';
|
||||
import 'package:bus_infotainment/pages/initial_startup.dart';
|
||||
import 'package:bus_infotainment/pages/tfl_dataset_test.dart';
|
||||
import 'package:bus_infotainment/backend/live_information.dart';
|
||||
import 'package:bus_infotainment/remaster/RemasteredMain.dart';
|
||||
import 'package:bus_infotainment/remaster/dashboard.dart';
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:window_manager/window_manager.dart';
|
||||
import 'package:bus_infotainment/remaster/InitialStartup.dart' as remaster;
|
||||
|
||||
void main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
@@ -55,14 +58,20 @@ class MyApp extends StatelessWidget {
|
||||
|
||||
// Permission.location.onGrantedCallback(() => null).request();
|
||||
|
||||
if (true) {
|
||||
return RemasteredApp();
|
||||
}
|
||||
|
||||
print("Window size: ${MediaQuery.of(context).size}");
|
||||
return MaterialApp(
|
||||
title: 'Flutter Demo',
|
||||
theme: ThemeData(
|
||||
useMaterial3: true,
|
||||
brightness: Brightness.light,
|
||||
/* light theme settings */
|
||||
),
|
||||
darkTheme: ThemeData(
|
||||
useMaterial3: true,
|
||||
brightness: Brightness.dark,
|
||||
// colorScheme: ColorScheme.dark(),
|
||||
colorScheme: ColorScheme.fromSeed(
|
||||
@@ -77,8 +86,9 @@ class MyApp extends StatelessWidget {
|
||||
'/home': (context) => const MyHomePage(title: 'Flutter Demo Home Page'),
|
||||
'/audiocachetest': (context) => AudioCacheTest(),
|
||||
// '/': (context) => TfL_Dataset_Test(),
|
||||
'/': (context) => InitialStartup(),
|
||||
'/': (context) => remaster.InitialStartup(),
|
||||
'/application': (context) => TfL_Dataset_Test(),
|
||||
'/dashboard': (context) => Dashboard(),
|
||||
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user