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() {
items: const <BottomNavigationBarItem>[
BottomNavigationBarItem(
icon: Icon(Icons.ac_unit),
title: Text('AC'),
label: 'AC',
),
BottomNavigationBarItem(
icon: Icon(Icons.access_alarm),
title: Text('Alarm'),
label: 'Alarm',
),
],
),
......@@ -220,11 +220,11 @@ void main() {
items: const <BottomNavigationBarItem>[
BottomNavigationBarItem(
icon: Icon(Icons.ac_unit),
title: Text('AC'),
label: 'AC',
),
BottomNavigationBarItem(
icon: Icon(Icons.access_alarm),
title: Text('Alarm'),
label: 'Alarm',
),
],
),
......
......@@ -649,11 +649,11 @@ void main() {
items: const <BottomNavigationBarItem>[
BottomNavigationBarItem(
icon: Icon(Icons.ac_unit),
title: Text('Item 1'),
label: 'Item 1',
),
BottomNavigationBarItem(
icon: Icon(Icons.style),
title: Text('Item 2'),
label: 'Item 2',
),
],
),
......@@ -678,11 +678,11 @@ void main() {
items: const <BottomNavigationBarItem>[
BottomNavigationBarItem(
icon: Icon(Icons.ac_unit),
title: Text('Item 1'),
label: 'Item 1',
),
BottomNavigationBarItem(
icon: Icon(Icons.style),
title: Text('Item 2'),
label: 'Item 2',
),
],
),
......
......@@ -635,11 +635,11 @@ void main() {
items: const <BottomNavigationBarItem>[
BottomNavigationBarItem(
icon: Icon(Icons.star),
title: Text('0'),
label: '0',
),
BottomNavigationBarItem(
icon: Icon(Icons.star_border),
title: Text('1'),
label: '1',
),
],
currentIndex: 0,
......@@ -1561,11 +1561,11 @@ Widget _singleFabScaffold(
items: const <BottomNavigationBarItem>[
BottomNavigationBarItem(
icon: Icon(Icons.home),
title: Text('Home'),
label: 'Home',
),
BottomNavigationBarItem(
icon: Icon(Icons.school),
title: Text('School'),
label: 'School',
),
],
),
......
......@@ -1125,11 +1125,11 @@ void main() {
items: const <BottomNavigationBarItem>[
BottomNavigationBarItem(
icon: Icon(Icons.add),
title: Text('test'),
label: 'test',
),
BottomNavigationBarItem(
icon: Icon(Icons.add),
title: Text('test'),
label: 'test',
),
],
);
......
......@@ -658,8 +658,8 @@ void main() {
child: Scaffold(
bottomNavigationBar: BottomNavigationBar(
items: const <BottomNavigationBarItem>[
BottomNavigationBarItem(icon: Icon(Icons.favorite), title: Text('Animutation')),
BottomNavigationBarItem(icon: Icon(Icons.block), title: Text('Zombo.com')),
BottomNavigationBarItem(icon: Icon(Icons.favorite), label: 'Animutation'),
BottomNavigationBarItem(icon: Icon(Icons.block), label: 'Zombo.com'),
],
),
body: Builder(
......@@ -821,8 +821,8 @@ void main() {
child: Scaffold(
bottomNavigationBar: BottomNavigationBar(
items: const <BottomNavigationBarItem>[
BottomNavigationBarItem(icon: Icon(Icons.favorite), title: Text('Animutation')),
BottomNavigationBarItem(icon: Icon(Icons.block), title: Text('Zombo.com')),
BottomNavigationBarItem(icon: Icon(Icons.favorite), label: 'Animutation'),
BottomNavigationBarItem(icon: Icon(Icons.block), label: 'Zombo.com'),
],
),
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