add missing trailing commas (#81406)
This commit is contained in:
committed by
GitHub
parent
7c27db3dfe
commit
7f31861914
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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)),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user