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