Unverified Commit 9bfab778 authored by Yash Johri's avatar Yash Johri Committed by GitHub

Changed title to label (#66186)

parent 192f9e5e
...@@ -127,11 +127,11 @@ void main() { ...@@ -127,11 +127,11 @@ void main() {
items: const <BottomNavigationBarItem>[ items: const <BottomNavigationBarItem>[
BottomNavigationBarItem( BottomNavigationBarItem(
icon: Icon(Icons.ac_unit), icon: Icon(Icons.ac_unit),
title: Text('AC'), label: 'AC',
), ),
BottomNavigationBarItem( BottomNavigationBarItem(
icon: Icon(Icons.access_alarm), icon: Icon(Icons.access_alarm),
title: Text('Alarm'), label: 'Alarm',
), ),
], ],
), ),
...@@ -220,11 +220,11 @@ void main() { ...@@ -220,11 +220,11 @@ void main() {
items: const <BottomNavigationBarItem>[ items: const <BottomNavigationBarItem>[
BottomNavigationBarItem( BottomNavigationBarItem(
icon: Icon(Icons.ac_unit), icon: Icon(Icons.ac_unit),
title: Text('AC'), label: 'AC',
), ),
BottomNavigationBarItem( BottomNavigationBarItem(
icon: Icon(Icons.access_alarm), icon: Icon(Icons.access_alarm),
title: Text('Alarm'), label: 'Alarm',
), ),
], ],
), ),
......
...@@ -649,11 +649,11 @@ void main() { ...@@ -649,11 +649,11 @@ void main() {
items: const <BottomNavigationBarItem>[ items: const <BottomNavigationBarItem>[
BottomNavigationBarItem( BottomNavigationBarItem(
icon: Icon(Icons.ac_unit), icon: Icon(Icons.ac_unit),
title: Text('Item 1'), label: 'Item 1',
), ),
BottomNavigationBarItem( BottomNavigationBarItem(
icon: Icon(Icons.style), icon: Icon(Icons.style),
title: Text('Item 2'), label: 'Item 2',
), ),
], ],
), ),
...@@ -678,11 +678,11 @@ void main() { ...@@ -678,11 +678,11 @@ void main() {
items: const <BottomNavigationBarItem>[ items: const <BottomNavigationBarItem>[
BottomNavigationBarItem( BottomNavigationBarItem(
icon: Icon(Icons.ac_unit), icon: Icon(Icons.ac_unit),
title: Text('Item 1'), label: 'Item 1',
), ),
BottomNavigationBarItem( BottomNavigationBarItem(
icon: Icon(Icons.style), icon: Icon(Icons.style),
title: Text('Item 2'), label: 'Item 2',
), ),
], ],
), ),
......
...@@ -635,11 +635,11 @@ void main() { ...@@ -635,11 +635,11 @@ void main() {
items: const <BottomNavigationBarItem>[ items: const <BottomNavigationBarItem>[
BottomNavigationBarItem( BottomNavigationBarItem(
icon: Icon(Icons.star), icon: Icon(Icons.star),
title: Text('0'), label: '0',
), ),
BottomNavigationBarItem( BottomNavigationBarItem(
icon: Icon(Icons.star_border), icon: Icon(Icons.star_border),
title: Text('1'), label: '1',
), ),
], ],
currentIndex: 0, currentIndex: 0,
...@@ -1561,11 +1561,11 @@ Widget _singleFabScaffold( ...@@ -1561,11 +1561,11 @@ Widget _singleFabScaffold(
items: const <BottomNavigationBarItem>[ items: const <BottomNavigationBarItem>[
BottomNavigationBarItem( BottomNavigationBarItem(
icon: Icon(Icons.home), icon: Icon(Icons.home),
title: Text('Home'), label: 'Home',
), ),
BottomNavigationBarItem( BottomNavigationBarItem(
icon: Icon(Icons.school), icon: Icon(Icons.school),
title: Text('School'), label: 'School',
), ),
], ],
), ),
......
...@@ -1125,11 +1125,11 @@ void main() { ...@@ -1125,11 +1125,11 @@ void main() {
items: const <BottomNavigationBarItem>[ items: const <BottomNavigationBarItem>[
BottomNavigationBarItem( BottomNavigationBarItem(
icon: Icon(Icons.add), icon: Icon(Icons.add),
title: Text('test'), label: 'test',
), ),
BottomNavigationBarItem( BottomNavigationBarItem(
icon: Icon(Icons.add), icon: Icon(Icons.add),
title: Text('test'), label: 'test',
), ),
], ],
); );
......
...@@ -658,8 +658,8 @@ void main() { ...@@ -658,8 +658,8 @@ void main() {
child: Scaffold( child: Scaffold(
bottomNavigationBar: BottomNavigationBar( bottomNavigationBar: BottomNavigationBar(
items: const <BottomNavigationBarItem>[ items: const <BottomNavigationBarItem>[
BottomNavigationBarItem(icon: Icon(Icons.favorite), title: Text('Animutation')), BottomNavigationBarItem(icon: Icon(Icons.favorite), label: 'Animutation'),
BottomNavigationBarItem(icon: Icon(Icons.block), title: Text('Zombo.com')), BottomNavigationBarItem(icon: Icon(Icons.block), label: 'Zombo.com'),
], ],
), ),
body: Builder( body: Builder(
...@@ -821,8 +821,8 @@ void main() { ...@@ -821,8 +821,8 @@ void main() {
child: Scaffold( child: Scaffold(
bottomNavigationBar: BottomNavigationBar( bottomNavigationBar: BottomNavigationBar(
items: const <BottomNavigationBarItem>[ items: const <BottomNavigationBarItem>[
BottomNavigationBarItem(icon: Icon(Icons.favorite), title: Text('Animutation')), BottomNavigationBarItem(icon: Icon(Icons.favorite), label: 'Animutation'),
BottomNavigationBarItem(icon: Icon(Icons.block), title: Text('Zombo.com')), BottomNavigationBarItem(icon: Icon(Icons.block), label: 'Zombo.com'),
], ],
), ),
body: Builder( body: Builder(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment