Skip to content

Commit

Permalink
Add new todos and configure CMake settings
Browse files Browse the repository at this point in the history
  • Loading branch information
syipmong committed Feb 10, 2024
1 parent 4e537b8 commit 12e06fc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"cmake.configureOnOpen": false
}
5 changes: 5 additions & 0 deletions lib/screens/todoscreen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ class _ToDoScreenState extends State<ToDoScreen> {
title: 'Add more Todo by pressing + button',
creationDate: DateTime.now(),
),
Todo(
title: 'Tap on a todo to edit it',
creationDate: DateTime.now(),
),
Todo(
title: 'Swipe left or right to delete',
creationDate: DateTime.now(),
Expand All @@ -24,6 +28,7 @@ class _ToDoScreenState extends State<ToDoScreen> {
creationDate: DateTime.now(),
isCompleted: true,
),

];

// Function to add a new todo
Expand Down

0 comments on commit 12e06fc

Please sign in to comment.