summaryrefslogtreecommitdiffstats
path: root/lib/main.dart
diff options
context:
space:
mode:
Diffstat (limited to 'lib/main.dart')
-rw-r--r--lib/main.dart28
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/main.dart b/lib/main.dart
new file mode 100644
index 0000000..27ba557
--- /dev/null
+++ b/lib/main.dart
@@ -0,0 +1,28 @@
+// SPDX-License-Identifier: Apache-2.0
+
+import 'dart:io';
+
+import 'package:flutter/material.dart';
+import 'package:flutter_riverpod/flutter_riverpod.dart';
+
+import 'Kuksa-server/intial_connection.dart';
+import 'Kuksa-server/vehicle_config.dart';
+import 'config.dart';
+
+Future<void> main() async {
+ WidgetsFlutterBinding.ensureInitialized();
+ HttpClient client = await initializeClient();
+
+
+ runApp(
+
+ ProviderScope(
+ child: MaterialApp(
+ debugShowCheckedModeBanner: false,
+ home: GetConfig(client: client),
+ ),
+ ),
+ );
+}
+
+