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

@@ -30,8 +30,9 @@ class _GesturePainter extends CustomPainter {
final Offset center = size.center(Offset.zero) * zoom + offset;
final double radius = size.width / 2.0 * zoom;
final Gradient gradient = RadialGradient(
colors: forward ? <Color>[swatch.shade50, swatch.shade900]
: <Color>[swatch.shade900, swatch.shade50]
colors: forward
? <Color>[swatch.shade50, swatch.shade900]
: <Color>[swatch.shade900, swatch.shade50],
);
final Paint paint = Paint()
..shader = gradient.createShader(Rect.fromCircle(

View File

@@ -135,7 +135,7 @@ class SectorAppState extends State<SectorApp> {
child: Container(
margin: const EdgeInsets.all(8.0),
decoration: BoxDecoration(
border: Border.all()
border: Border.all(),
),
padding: const EdgeInsets.all(8.0),
child: WidgetToRenderBoxAdapter(

View File

@@ -67,8 +67,8 @@ class SpeakerSeparator extends StatelessWidget {
margin: const EdgeInsets.symmetric(vertical: 10.0, horizontal: 64.0),
decoration: const BoxDecoration(
border: Border(
bottom: BorderSide(color: Color.fromARGB(24, 0, 0, 0))
)
bottom: BorderSide(color: Color.fromARGB(24, 0, 0, 0)),
),
),
);
}