veilid/veilid-flutter/example/lib/main.dart
2024-05-02 14:15:42 -04:00

24 lines
450 B
Dart

import 'package:flutter/material.dart';
import 'app.dart';
import 'log.dart';
import 'veilid_init.dart';
import 'veilid_theme.dart';
/////////////////////////////// Entrypoint
void main() {
WidgetsFlutterBinding.ensureInitialized();
// Initialize Log
initLoggy();
// Initialize Veilid
veilidInit();
// Run the app
runApp(MaterialApp(
title: 'Veilid Plugin Demo',
theme: newVeilidTheme(),
home: const MyApp()));
}