Flutter-Ernaehrungsapp/lib/main.dart

26 lines
589 B
Dart
Raw Normal View History

import 'package:ernaehrung/views/navigation/navigationScreen.dart';
import 'package:ernaehrung/views/welcome/welcomeScreen.dart';
2023-04-13 23:01:48 +02:00
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
2023-04-13 23:01:48 +02:00
}
class MyApp extends StatelessWidget {
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,
),
home: const WelcomeScreen(),
routes: {
'/navigation': (context) => const NavigationScreen(),
},
2023-04-13 23:01:48 +02:00
);
}
}