Changed title to label (#66186)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user