Skip to content

Commit

Permalink
Removes deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Ascenio committed Dec 7, 2020
1 parent 84657c5 commit 4ac73cf
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
10 changes: 5 additions & 5 deletions lib/app_clone/shoes_store/shoes_store_page.dart
Expand Up @@ -244,31 +244,31 @@ class _ShoesStorePageState extends State<ShoesStorePage> {
type: BottomNavigationBarType.fixed,
items: [
BottomNavigationBarItem(
title: Text(''),
label: '',
icon: Icon(
Icons.home,
),
),
BottomNavigationBarItem(
title: Text(''),
label: '',
icon: Icon(
Icons.favorite_border,
),
),
BottomNavigationBarItem(
title: Text(''),
label: '',
icon: Icon(
Icons.location_city,
),
),
BottomNavigationBarItem(
title: Text(''),
label: '',
icon: Icon(
Icons.shopping_cart,
),
),
BottomNavigationBarItem(
title: Text(''),
label: '',
icon: Icon(
Icons.person_outline,
),
Expand Down
8 changes: 4 additions & 4 deletions lib/app_clone/sports_store/sports_store_page.dart
Expand Up @@ -159,25 +159,25 @@ class _SportsStorePageState extends State<SportsStorePage> {
type: BottomNavigationBarType.fixed,
items: [
BottomNavigationBarItem(
title: Text(''),
label: '',
icon: Icon(
Icons.home,
),
),
BottomNavigationBarItem(
title: Text(''),
label: '',
icon: Icon(
Icons.shopping_basket,
),
),
BottomNavigationBarItem(
title: Text(''),
label: '',
icon: Icon(
Icons.shopping_cart,
),
),
BottomNavigationBarItem(
title: Text(''),
label: '',
icon: Icon(
Icons.wb_sunny,
),
Expand Down
10 changes: 5 additions & 5 deletions lib/appbar_sliverappbar/sample3.dart
Expand Up @@ -39,23 +39,23 @@ class Sample3 extends StatelessWidget {
items: [
BottomNavigationBarItem(
icon: Icon(Icons.library_music),
title: Text('Library'),
label: 'Library',
),
BottomNavigationBarItem(
icon: Icon(Icons.favorite),
title: Text('Favorites'),
label: 'Favorites',
),
BottomNavigationBarItem(
icon: Icon(Icons.music_note),
title: Text('Songs'),
label: 'Songs',
),
BottomNavigationBarItem(
icon: Icon(Icons.settings_input_antenna),
title: Text('Radio'),
label: 'Radio',
),
BottomNavigationBarItem(
icon: Icon(Icons.search),
title: Text('Search'),
label: 'Search',
),
],
),
Expand Down

0 comments on commit 4ac73cf

Please sign in to comment.