refactoring
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'pages/create_todo_page.dart';
|
||||
import 'pages/todo_create_page.dart';
|
||||
import 'pages/dashboard_page.dart';
|
||||
import 'services/dbhelper.dart';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../widgets/todo_list.dart';
|
||||
import 'create_todo_page.dart';
|
||||
import 'todo_create_page.dart';
|
||||
|
||||
class DashboardPage extends StatelessWidget {
|
||||
const DashboardPage({super.key});
|
||||
|
||||
11
lib/pages/todo_detail_page.dart
Normal file
11
lib/pages/todo_detail_page.dart
Normal file
@@ -0,0 +1,11 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class TodoDetailPage extends StatelessWidget {
|
||||
const TodoDetailPage({super.key});
|
||||
static const routeName = '/detail';
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return const Placeholder();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user