25 lines
474 B
Dart
25 lines
474 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:rezepte/pages/dashboard_page.dart';
|
|
|
|
import 'theme.dart';
|
|
|
|
void main() {
|
|
runApp(const MyApp());
|
|
}
|
|
|
|
class MyApp extends StatelessWidget {
|
|
const MyApp({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
title: 'Flutter Demo',
|
|
theme: lightTheme,
|
|
darkTheme: darkTheme,
|
|
routes: {
|
|
Dashboard.routeName: (_) => const Dashboard(),
|
|
},
|
|
);
|
|
}
|
|
}
|