Unverified Commit c3ddfb92 authored by Alexandre Ardhuin's avatar Alexandre Ardhuin Committed by GitHub

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

parent 0b24a5a2
...@@ -117,7 +117,7 @@ class PaletteTabView extends StatelessWidget { ...@@ -117,7 +117,7 @@ class PaletteTabView extends StatelessWidget {
); );
}), }),
], ],
) ),
); );
} }
} }
......
...@@ -140,7 +140,7 @@ class CategoryView extends StatelessWidget { ...@@ -140,7 +140,7 @@ class CategoryView extends StatelessWidget {
], ],
); );
}).toList(), }).toList(),
) ),
); );
} }
} }
......
...@@ -57,7 +57,7 @@ class _BannerDemoState extends State<BannerDemo> { ...@@ -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> { ...@@ -66,7 +66,7 @@ class _BannerDemoState extends State<BannerDemo> {
setState(() { setState(() {
_displayBanner = false; _displayBanner = false;
}); });
} },
), ),
], ],
); );
......
...@@ -88,7 +88,7 @@ class _SnackBarDemoState extends State<SnackBarDemo> { ...@@ -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');
} },
), ),
); );
} }
......
...@@ -46,7 +46,7 @@ ui.Picture paint(ui.Rect paintBounds) { ...@@ -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
......
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