Skip to content

Commit

Permalink
Added title on todo list page
Browse files Browse the repository at this point in the history
  • Loading branch information
Prince2347X committed Apr 26, 2023
1 parent 12618bc commit 98a02e1
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions lib/screens/todos.dart
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,19 @@ class _TodosScreenState extends State<TodosScreen> with TickerProviderStateMixin
),
],
),
const SizedBox(
height: 60,
Padding(
padding: const EdgeInsets.only(
top: 60.0,
bottom: 12,
),
child: Text(
_currentIndex == 0 ? 'ACTIVE TODOS' : 'COMPLETED TODOS',
style: TextStyle(
color: Colors.black.withOpacity(0.4),
fontWeight: FontWeight.bold,
fontSize: 12,
),
),
),
<Widget>[
const TodoListView(
Expand Down

0 comments on commit 98a02e1

Please sign in to comment.