add missing trailing commas in list/set/map literals (#102585)

This commit is contained in:
Alexandre Ardhuin
2022-04-27 09:15:35 +02:00
committed by GitHub
parent 0b80f08cf0
commit 07f1c20474
271 changed files with 1236 additions and 1141 deletions

View File

@@ -33,7 +33,7 @@ class _AnimatedComplexOpacityState extends State<AnimatedComplexOpacity> with Si
for (int i = 0; i < 20; i++)
FadeTransition(opacity: animation, child: Center(
child: Transform.scale(scale: 1.01, child: const ModeratelyComplexWidget()),
))
)),
],
),
),

View File

@@ -28,7 +28,7 @@ class OpacityPeepholePage extends StatelessWidget {
onPressed: () {
Navigator.pushNamed(context, variant.route);
},
)
),
],
),
);

View File

@@ -62,7 +62,7 @@ class ListItem extends StatelessWidget {
_buildUserInfo(),
const SizedBox(
height: 10,
)
),
];
if (index % 3 != 0) {
contents.add(_buildImageContent());
@@ -140,7 +140,7 @@ class ListItem extends StatelessWidget {
),
const SizedBox(
width: 15,
)
),
],
);
}

View File

@@ -93,7 +93,7 @@ class _PostBackdropFilterPageState extends State<PostBackdropFilterPage> with Ti
],
),
),
)
),
],
),
],

View File

@@ -67,7 +67,7 @@ final GetStackPointerCallback getStackPointer = () {
// "mov r0, sp" in machine code: 0D00A0E1.
0x0d, 0x00, 0xa0, 0xe1,
// "bx lr" in machine code: 1EFF2FE1.
0x1e, 0xff, 0x2f, 0xe1
0x1e, 0xff, 0x2f, 0xe1,
]
);

View File

@@ -393,7 +393,7 @@ class PaletteTabView extends StatelessWidget {
600,
700,
800,
900
900,
];
static const List<int> accentKeys = <int>[100, 200, 400, 700];