summaryrefslogtreecommitdiffstats
path: root/lib/main.dart
blob: c1198ce068c3509df3c4c06b2334f6281c5f7ade (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// SPDX-License-Identifier: Apache-2.0

import 'dart:io';
import 'package:flutter/material.dart';
import 'package:flutter_cluster_dashboard/cluster_config.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:flutter_cluster_dashboard/vehicle_signal/vehicle_signal_config.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  HttpClient client = await initializeClient();
  runApp(
    ProviderScope(
      child: MaterialApp(
        home: GetConfig(client: client),
      ),
    ),
  );
}