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