diff --git a/images/profile.jpg b/images/profile.jpg new file mode 100644 index 0000000..66fbf91 Binary files /dev/null and b/images/profile.jpg differ diff --git a/lib/ui/home_page.dart b/lib/ui/home_page.dart index f784596..f697c9a 100644 --- a/lib/ui/home_page.dart +++ b/lib/ui/home_page.dart @@ -50,7 +50,7 @@ class _HomePageState extends State { _appTaskBar(), // Date Picker TimeLines _appDateBar(), - SizedBox(height: 16.h), + SizedBox(height: 22.h), // list of the object user tasks _showUserTasks(), ], @@ -63,6 +63,7 @@ class _HomePageState extends State { return Expanded(child: Obx( () { return ListView.builder( + physics: BouncingScrollPhysics(), shrinkWrap: true, itemCount: _taskController.taskList.length, itemBuilder: (context, index) { @@ -330,9 +331,11 @@ class _HomePageState extends State { actions: [ IconButton( onPressed: () { - // notifyHelper.scheduledNotification(); + Get.snackbar("Message", "HI! 😎"); }, - icon: CircleAvatar(), + icon: CircleAvatar( + backgroundImage: AssetImage("images/profile.jpg"), + ), ), ], ); diff --git a/pubspec.yaml b/pubspec.yaml index 49b272f..4199915 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -69,8 +69,8 @@ flutter: uses-material-design: true # To add assets to your application, add an assets section, like this: - # assets: - # - images/a_dot_burr.jpeg + assets: + - images/ # - images/a_dot_ham.jpeg # An image asset can refer to one or more resolution-specific "variants", see