navigation to createTodoPage

This commit is contained in:
SomnusVeritas
2023-11-08 10:53:21 +01:00
parent b7ab47c1ec
commit 72ab307b42
3 changed files with 27 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
import 'package:flutter/material.dart';
import 'pages/create_todo_page.dart';
import 'pages/dashboard_page.dart';
import 'services/dbhelper.dart';
@@ -22,6 +23,7 @@ class MyApp extends StatelessWidget {
),
routes: {
DashboardPage.routeName: (context) => const DashboardPage(),
CreateTodoPage.routeName: (context) => const CreateTodoPage(),
},
);
}