add missing trailing commas (#81406)

This commit is contained in:
Alexandre Ardhuin
2021-04-28 22:54:49 +02:00
committed by GitHub
parent 7c27db3dfe
commit 7f31861914
26 changed files with 131 additions and 93 deletions

View File

@@ -75,10 +75,11 @@ class _MyHomePageState extends State<MyHomePage> {
Padding(
padding: const EdgeInsets.all(18.0),
child: ElevatedButton(
child: Platform.isIOS
? const Text('Continue in iOS view')
: const Text('Continue in Android view'),
onPressed: _launchPlatformCount),
child: Platform.isIOS
? const Text('Continue in iOS view')
: const Text('Continue in Android view'),
onPressed: _launchPlatformCount,
),
),
],
),
@@ -88,8 +89,7 @@ class _MyHomePageState extends State<MyHomePage> {
padding: const EdgeInsets.only(bottom: 15.0, left: 5.0),
child: Row(
children: <Widget>[
Image.asset('assets/flutter-mark-square-64.png',
scale: 1.5),
Image.asset('assets/flutter-mark-square-64.png', scale: 1.5),
const Text(
'Flutter',
style: TextStyle(fontSize: 30.0),