2023-04-23 13:08:04 +02:00
|
|
|
import 'package:ernaehrung/pages/nav_pages/main_page.dart';
|
2023-04-29 15:56:04 +02:00
|
|
|
import 'package:ernaehrung/views/navigation/navigation_screen.dart';
|
2023-04-13 23:01:48 +02:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
void main() {
|
2023-04-19 16:24:14 +02:00
|
|
|
runApp(const MyApp());
|
2023-04-13 23:01:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
class MyApp extends StatelessWidget {
|
2023-04-19 16:24:14 +02:00
|
|
|
const MyApp({super.key});
|
|
|
|
|
2023-04-13 23:01:48 +02:00
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return MaterialApp(
|
|
|
|
title: 'Flutter Demo',
|
|
|
|
theme: ThemeData(
|
|
|
|
primarySwatch: Colors.blue,
|
|
|
|
),
|
2023-04-23 13:08:04 +02:00
|
|
|
home: const MainPage(),
|
2023-04-19 16:24:14 +02:00
|
|
|
routes: {
|
|
|
|
'/navigation': (context) => const NavigationScreen(),
|
2023-04-16 12:38:21 +02:00
|
|
|
},
|
2023-04-13 23:01:48 +02:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|