File tree 4 files changed +16
-16
lines changed
4 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,12 @@ class _BlogHomePageState extends State<BlogHomePage> {
34
34
),
35
35
bottomNavigationBar: BottomNavigationBar (
36
36
items: [
37
- BottomNavigationBarItem (icon: Icon (Icons .home), title : Text ( "Home" ) ),
37
+ BottomNavigationBarItem (icon: Icon (Icons .home), label : "Home" ),
38
38
BottomNavigationBarItem (
39
- icon: Icon (Icons .search), title : Text ( "Search" ) ),
39
+ icon: Icon (Icons .search), label : "Search" ),
40
40
BottomNavigationBarItem (
41
- icon: Icon (Icons .chat_bubble), title : Text ( "Chat" ) ),
42
- BottomNavigationBarItem (icon: Icon (Icons .info), title : Text ( "About" ) ),
41
+ icon: Icon (Icons .chat_bubble), label : "Chat" ),
42
+ BottomNavigationBarItem (icon: Icon (Icons .info), label : "About" ),
43
43
],
44
44
currentIndex: _currentIndex,
45
45
onTap: _onItemTapped,
Original file line number Diff line number Diff line change @@ -32,12 +32,12 @@ class _ChatHomePageState extends State<ChatHomePage> {
32
32
),
33
33
bottomNavigationBar: BottomNavigationBar (
34
34
items: [
35
- BottomNavigationBarItem (icon: Icon (Icons .home), title : Text ( "Home" ) ),
35
+ BottomNavigationBarItem (icon: Icon (Icons .home), label : "Home" ),
36
36
BottomNavigationBarItem (
37
- icon: Icon (Icons .search), title : Text ( "Search" ) ),
37
+ icon: Icon (Icons .search), label : "Search" ),
38
38
BottomNavigationBarItem (
39
- icon: Icon (Icons .chat_bubble), title : Text ( "Chat" ) ),
40
- BottomNavigationBarItem (icon: Icon (Icons .info), title : Text ( "About" ) ),
39
+ icon: Icon (Icons .chat_bubble), label : "Chat" ),
40
+ BottomNavigationBarItem (icon: Icon (Icons .info), label : "About" ),
41
41
],
42
42
currentIndex: _currentIndex,
43
43
onTap: _onItemTapped,
Original file line number Diff line number Diff line change @@ -30,12 +30,12 @@ class _PopularCoursesHomePageState extends State<PopularCoursesHomePage> {
30
30
),
31
31
bottomNavigationBar: BottomNavigationBar (
32
32
items: [
33
- BottomNavigationBarItem (icon: Icon (Icons .home), title : Text ( "Home" ) ),
33
+ BottomNavigationBarItem (icon: Icon (Icons .home), label : "Home" ),
34
34
BottomNavigationBarItem (
35
- icon: Icon (Icons .search), title : Text ( "Search" ) ),
35
+ icon: Icon (Icons .search), label : "Search" ),
36
36
BottomNavigationBarItem (
37
- icon: Icon (Icons .chat_bubble), title : Text ( "Chat" ) ),
38
- BottomNavigationBarItem (icon: Icon (Icons .info), title : Text ( "About" ) ),
37
+ icon: Icon (Icons .chat_bubble), label : "Chat" ),
38
+ BottomNavigationBarItem (icon: Icon (Icons .info), label : "About" ),
39
39
],
40
40
currentIndex: _currentIndex,
41
41
onTap: _onItemTapped,
Original file line number Diff line number Diff line change @@ -31,12 +31,12 @@ class _ShoppingHomePageState extends State<ShoppingHomePage> {
31
31
),
32
32
bottomNavigationBar: BottomNavigationBar (
33
33
items: [
34
- BottomNavigationBarItem (icon: Icon (Icons .home), title : Text ( "Home" ) ),
34
+ BottomNavigationBarItem (icon: Icon (Icons .home), label : "Home" ),
35
35
BottomNavigationBarItem (
36
- icon: Icon (Icons .search), title : Text ( "Search" ) ),
36
+ icon: Icon (Icons .search), label : "Search" ),
37
37
BottomNavigationBarItem (
38
- icon: Icon (Icons .chat_bubble), title : Text ( "Chat" ) ),
39
- BottomNavigationBarItem (icon: Icon (Icons .info), title : Text ( "About" ) ),
38
+ icon: Icon (Icons .chat_bubble), label : "Chat" ),
39
+ BottomNavigationBarItem (icon: Icon (Icons .info), label : "About" ),
40
40
],
41
41
currentIndex: _currentIndex,
42
42
onTap: _onItemTapped,
You can’t perform that action at this time.
0 commit comments