summaryrefslogtreecommitdiffstats
path: root/lib/main.dart
blob: 163d16c65a9f66ebbcbbf6c30c9ef2d953fcc55b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// SPDX-License-Identifier: Apache-2.0

import 'dart:io';

import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';

import 'vehicle-signals/intial_connection.dart';
import 'vehicle-signals/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),
      ),
    ),
  );
}