diff --git a/lib/main.dart b/lib/main.dart index 8c3f0ee..0cdd68c 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -13,11 +13,11 @@ class MyApp extends StatelessWidget { return MaterialApp( title: 'NoteKeeper', - debugShowCheckedModeBanner: false, + theme: ThemeData( primarySwatch: Colors.deepPurple ), home: NoteList(), ); } -} \ No newline at end of file +} diff --git a/lib/screens/note_list.dart b/lib/screens/note_list.dart index a476100..a1caf43 100644 --- a/lib/screens/note_list.dart +++ b/lib/screens/note_list.dart @@ -33,6 +33,8 @@ class NoteListState extends State { appBar: AppBar( title: Text('Notes'), + centerTitle: false, + titleSpacing: 0.0, ), body: getNoteListView(), @@ -82,7 +84,7 @@ class NoteListState extends State { onTap: () { debugPrint("ListTile Tapped"); - navigateToDetail(this.noteList[position],'Edit Note'); + navigateToDetail(this.noteList[position],'Edit'); }, ), @@ -125,7 +127,7 @@ class NoteListState extends State { int result = await databaseHelper.deleteNote(note.id); if (result != 0) { - _showSnackBar(context, 'Note Deleted Successfully'); + _showSnackBar(context, '1 Note Deleted Successfully'); updateListView(); } }