mirror of
https://github.com/timokz/flutter-vienna-hackathon-25.git
synced 2025-11-08 23:04:20 +01:00
22 lines
552 B
Dart
22 lines
552 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_dotenv/flutter_dotenv.dart';
|
|
import 'package:wien_talks_flutter/helper/go_router.dart';
|
|
import 'package:wien_talks_flutter/theme.dart';
|
|
|
|
Future<void> main() async {
|
|
await dotenv.load(fileName: '.env');
|
|
runApp(const MyApp());
|
|
}
|
|
|
|
class MyApp extends StatelessWidget {
|
|
const MyApp({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp.router(
|
|
title: 'Wien Talks',
|
|
theme: GemeindeBauTheme.light(),
|
|
routerConfig: router,
|
|
);
|
|
}
|
|
}
|