File tree Expand file tree Collapse file tree 3 files changed +14
-14
lines changed Expand file tree Collapse file tree 3 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -244,31 +244,31 @@ class _ShoesStorePageState extends State<ShoesStorePage> {
244
244
type: BottomNavigationBarType .fixed,
245
245
items: [
246
246
BottomNavigationBarItem (
247
- title : Text ( '' ) ,
247
+ label : '' ,
248
248
icon: Icon (
249
249
Icons .home,
250
250
),
251
251
),
252
252
BottomNavigationBarItem (
253
- title : Text ( '' ) ,
253
+ label : '' ,
254
254
icon: Icon (
255
255
Icons .favorite_border,
256
256
),
257
257
),
258
258
BottomNavigationBarItem (
259
- title : Text ( '' ) ,
259
+ label : '' ,
260
260
icon: Icon (
261
261
Icons .location_city,
262
262
),
263
263
),
264
264
BottomNavigationBarItem (
265
- title : Text ( '' ) ,
265
+ label : '' ,
266
266
icon: Icon (
267
267
Icons .shopping_cart,
268
268
),
269
269
),
270
270
BottomNavigationBarItem (
271
- title : Text ( '' ) ,
271
+ label : '' ,
272
272
icon: Icon (
273
273
Icons .person_outline,
274
274
),
Original file line number Diff line number Diff line change @@ -159,25 +159,25 @@ class _SportsStorePageState extends State<SportsStorePage> {
159
159
type: BottomNavigationBarType .fixed,
160
160
items: [
161
161
BottomNavigationBarItem (
162
- title : Text ( '' ) ,
162
+ label : '' ,
163
163
icon: Icon (
164
164
Icons .home,
165
165
),
166
166
),
167
167
BottomNavigationBarItem (
168
- title : Text ( '' ) ,
168
+ label : '' ,
169
169
icon: Icon (
170
170
Icons .shopping_basket,
171
171
),
172
172
),
173
173
BottomNavigationBarItem (
174
- title : Text ( '' ) ,
174
+ label : '' ,
175
175
icon: Icon (
176
176
Icons .shopping_cart,
177
177
),
178
178
),
179
179
BottomNavigationBarItem (
180
- title : Text ( '' ) ,
180
+ label : '' ,
181
181
icon: Icon (
182
182
Icons .wb_sunny,
183
183
),
Original file line number Diff line number Diff line change @@ -39,23 +39,23 @@ class Sample3 extends StatelessWidget {
39
39
items: [
40
40
BottomNavigationBarItem (
41
41
icon: Icon (Icons .library_music),
42
- title : Text ( 'Library' ) ,
42
+ label : 'Library' ,
43
43
),
44
44
BottomNavigationBarItem (
45
45
icon: Icon (Icons .favorite),
46
- title : Text ( 'Favorites' ) ,
46
+ label : 'Favorites' ,
47
47
),
48
48
BottomNavigationBarItem (
49
49
icon: Icon (Icons .music_note),
50
- title : Text ( 'Songs' ) ,
50
+ label : 'Songs' ,
51
51
),
52
52
BottomNavigationBarItem (
53
53
icon: Icon (Icons .settings_input_antenna),
54
- title : Text ( 'Radio' ) ,
54
+ label : 'Radio' ,
55
55
),
56
56
BottomNavigationBarItem (
57
57
icon: Icon (Icons .search),
58
- title : Text ( 'Search' ) ,
58
+ label : 'Search' ,
59
59
),
60
60
],
61
61
),
You can’t perform that action at this time.
0 commit comments