26 lines
583 B
Dart
26 lines
583 B
Dart
import 'package:ernaehrung/pages/nav_pages/main_page.dart';
|
|
import 'package:ernaehrung/views/navigation/navigation_screen.dart';
|
|
import 'package:flutter/material.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: ThemeData(
|
|
primarySwatch: Colors.blue,
|
|
),
|
|
home: const MainPage(),
|
|
routes: {
|
|
'/navigation': (context) => const NavigationScreen(),
|
|
},
|
|
);
|
|
}
|
|
}
|