File tree 2 files changed +4
-4
lines changed 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ String generateTranslationBundles() {
272
272
///
273
273
/// * [getMaterialTranslation], whose documentation describes these values.
274
274
final Set<String> kSupportedLanguages = HashSet<String>.from(const <String>[
275
- ${languageCodes .map <String >((String value ) => " '$value ', // ${describeLocale (value )}" ).toList (). join ('\n ' )}
275
+ ${languageCodes .map <String >((String value ) => " '$value ', // ${describeLocale (value )}" ).join ('\n ' )}
276
276
]);
277
277
278
278
/// Creates a [GlobalMaterialLocalizations] instance for the given `locale`.
Original file line number Diff line number Diff line change @@ -217,10 +217,10 @@ void generate(String commit) {
217
217
< String , String > {
218
218
'imports' : samples.map <String >((SampleInfo page) {
219
219
return "import '${page .importPath }' show ${page .sampleClass };\n " ;
220
- }).toList (). join (),
220
+ }).join (),
221
221
'widgets' : samples.map <String >((SampleInfo sample) {
222
222
return 'new ${sample .sampleClass }(),\n ' ;
223
- }).toList (). join (),
223
+ }).join (),
224
224
},
225
225
);
226
226
@@ -232,7 +232,7 @@ void generate(String commit) {
232
232
< String , String > {
233
233
'paths' : samples.map <String >((SampleInfo sample) {
234
234
return "'${outputFile (sample .sourceName + '.png' ).path }'" ;
235
- }).toList (). join (',\n ' ),
235
+ }).join (',\n ' ),
236
236
},
237
237
);
238
238
You can’t perform that action at this time.
0 commit comments