add missing trailing commas (in examples/) (#40701)

This commit is contained in:
Alexandre Ardhuin 2019-09-18 20:48:07 +02:00 committed by GitHub
parent 0b24a5a2ff
commit c3ddfb924f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View File

@ -117,7 +117,7 @@ class PaletteTabView extends StatelessWidget {
); );
}), }),
], ],
) ),
); );
} }
} }

View File

@ -140,7 +140,7 @@ class CategoryView extends StatelessWidget {
], ],
); );
}).toList(), }).toList(),
) ),
); );
} }
} }

View File

@ -57,7 +57,7 @@ class _BannerDemoState extends State<BannerDemo> {
setState(() { setState(() {
_displayBanner = false; _displayBanner = false;
}); });
} },
), ),
if (_showMultipleActions) if (_showMultipleActions)
FlatButton( FlatButton(
@ -66,7 +66,7 @@ class _BannerDemoState extends State<BannerDemo> {
setState(() { setState(() {
_displayBanner = false; _displayBanner = false;
}); });
} },
), ),
], ],
); );

View File

@ -88,7 +88,7 @@ class _SnackBarDemoState extends State<SnackBarDemo> {
tooltip: 'Create', tooltip: 'Create',
onPressed: () { onPressed: () {
print('Floating Action Button was pressed'); print('Floating Action Button was pressed');
} },
), ),
); );
} }

View File

@ -46,7 +46,7 @@ ui.Picture paint(ui.Rect paintBounds) {
// Clips the current transform // Clips the current transform
canvas.clipRect( canvas.clipRect(
ui.Rect.fromLTRB(0, radius + 50, logicalSize.width, logicalSize.height), ui.Rect.fromLTRB(0, radius + 50, logicalSize.width, logicalSize.height),
clipOp: ui.ClipOp.difference clipOp: ui.ClipOp.difference,
); );
// Shifts the coordinate space of and rotates the current transform // Shifts the coordinate space of and rotates the current transform