2022-01-29 13:23:10 -05:00
|
|
|
import 'package:flutter/material.dart';
|
2022-03-10 09:51:53 -05:00
|
|
|
|
2022-12-10 12:11:46 -05:00
|
|
|
import 'app.dart';
|
2024-05-02 14:15:42 -04:00
|
|
|
import 'log.dart';
|
2022-12-10 12:11:46 -05:00
|
|
|
import 'veilid_init.dart';
|
2024-05-02 14:15:42 -04:00
|
|
|
import 'veilid_theme.dart';
|
2022-02-15 13:40:17 -05:00
|
|
|
|
2022-12-09 18:59:31 -05:00
|
|
|
/////////////////////////////// Entrypoint
|
2022-01-16 11:19:01 -05:00
|
|
|
void main() {
|
2022-03-03 20:45:39 -05:00
|
|
|
WidgetsFlutterBinding.ensureInitialized();
|
|
|
|
|
2022-12-10 12:11:46 -05:00
|
|
|
// Initialize Log
|
2022-03-03 20:45:39 -05:00
|
|
|
initLoggy();
|
|
|
|
|
2022-12-10 12:11:46 -05:00
|
|
|
// Initialize Veilid
|
|
|
|
veilidInit();
|
|
|
|
|
|
|
|
// Run the app
|
2022-03-03 20:45:39 -05:00
|
|
|
runApp(MaterialApp(
|
|
|
|
title: 'Veilid Plugin Demo',
|
2022-12-10 12:11:46 -05:00
|
|
|
theme: newVeilidTheme(),
|
2022-03-03 20:45:39 -05:00
|
|
|
home: const MyApp()));
|
2022-01-16 11:19:01 -05:00
|
|
|
}
|