From 36c9eda9acb059e2a385997241f9fe197de5b06f Mon Sep 17 00:00:00 2001 From: Rongjian Zhang Date: Tue, 14 Jan 2020 14:01:08 +0800 Subject: [PATCH] chore: update icons --- lib/main.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 4d1cfe7..d9c3367 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -43,7 +43,7 @@ class _HomeState extends State { Widget _buildNotificationIcon(BuildContext context, bool isActive) { final theme = Provider.of(context); - final iconData = isActive ? Icons.notifications : Icons.notifications_none; + final iconData = Icons.notifications; int count = Provider.of(context).count; if (count == 0) { return Icon(iconData); @@ -76,7 +76,7 @@ class _HomeState extends State { title: Text('Notification'), ), BottomNavigationBarItem( - icon: Icon(Icons.trending_up), + icon: Icon(Icons.whatshot), title: Text('Trending'), ), BottomNavigationBarItem( @@ -84,7 +84,7 @@ class _HomeState extends State { title: Text('Search'), ), BottomNavigationBarItem( - icon: Icon(Icons.person_outline), + icon: Icon(Icons.person), activeIcon: Icon(Icons.person), title: Text('Me'), ),