Unverified Commit 89d26d8d authored by Hans Muller's avatar Hans Muller Committed by GitHub

Fixed some trivial formatting issues (#81699)

parent 5e86d695
...@@ -300,21 +300,21 @@ void main() { ...@@ -300,21 +300,21 @@ void main() {
child: PopupMenuButton<void>( child: PopupMenuButton<void>(
child: const Text('Actions'), child: const Text('Actions'),
itemBuilder: (BuildContext context) => <PopupMenuItem<void>>[ itemBuilder: (BuildContext context) => <PopupMenuItem<void>>[
PopupMenuItem<void>( PopupMenuItem<void>(
child: const Text('First option'), child: const Text('First option'),
onTap: () { onTap: () {
menuItemTapCounters[0]++; menuItemTapCounters[0] += 1;
}, },
), ),
PopupMenuItem<void>( PopupMenuItem<void>(
child: const Text('Second option'), child: const Text('Second option'),
onTap: () { onTap: () {
menuItemTapCounters[1]++; menuItemTapCounters[1] += 1;
}, },
), ),
const PopupMenuItem<void>( const PopupMenuItem<void>(
child: Text('Option without onTap'), child: Text('Option without onTap'),
), ),
], ],
), ),
), ),
...@@ -364,24 +364,24 @@ void main() { ...@@ -364,24 +364,24 @@ void main() {
child: const Text('Actions'), child: const Text('Actions'),
onSelected: (String value) { selected = value; }, onSelected: (String value) { selected = value; },
itemBuilder: (BuildContext context) => <PopupMenuItem<String>>[ itemBuilder: (BuildContext context) => <PopupMenuItem<String>>[
PopupMenuItem<String>( PopupMenuItem<String>(
child: const Text('First option'), child: const Text('First option'),
value: 'first', value: 'first',
onTap: () { onTap: () {
menuItemTapCounters[0]++; menuItemTapCounters[0] += 1;
}, },
), ),
PopupMenuItem<String>( PopupMenuItem<String>(
child: const Text('Second option'), child: const Text('Second option'),
value: 'second', value: 'second',
onTap: () { onTap: () {
menuItemTapCounters[1]++; menuItemTapCounters[1] += 1;
}, },
), ),
const PopupMenuItem<String>( const PopupMenuItem<String>(
child: Text('Option without onTap'), child: Text('Option without onTap'),
value: 'third', value: 'third',
), ),
], ],
), ),
), ),
......
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