30 lines
653 B
Dart
30 lines
653 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
import 'pages/overview_page.dart';
|
|
|
|
void main() {
|
|
runApp(const RecipeJournal());
|
|
}
|
|
|
|
class RecipeJournal extends StatelessWidget {
|
|
const RecipeJournal({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
title: 'Recipe Journal',
|
|
theme: ThemeData(
|
|
colorScheme: ColorScheme.fromSeed(
|
|
seedColor: Colors.deepPurple,
|
|
brightness: Brightness.dark,
|
|
),
|
|
useMaterial3: true,
|
|
),
|
|
routes: {
|
|
OverviewPage.routeName: (context) => OverviewPage(),
|
|
},
|
|
initialRoute: OverviewPage.routeName,
|
|
);
|
|
}
|
|
}
|