21 lines
566 B
Dart
21 lines
566 B
Dart
import 'package:ernaehrung/android/pages/nav_pages/main_page.dart';
|
|
import 'package:ernaehrung/android/views/navigation/navigation_screen.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
class AndroidApp extends StatelessWidget {
|
|
const AndroidApp({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(),
|
|
},
|
|
);
|
|
}
|
|
} |