File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,6 @@ String _emitLibrary(code.Library library) {
4444 );
4545
4646 final source = library.accept (emitter);
47- return DartFormatter (experimentFlags : [inlineClassExperimentFlag] )
47+ return DartFormatter (languageVersion : DartFormatter .latestLanguageVersion )
4848 .format (source.toString ());
4949}
Original file line number Diff line number Diff line change @@ -30,9 +30,6 @@ final List<String> mozLicenseHeader = [
3030 'under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/.' ,
3131];
3232
33- // Needed for dart_style until 2.3.5 is published.
34- const String inlineClassExperimentFlag = 'inline-class' ;
35-
3633const String generatedFileDisclaimer = 'Generated from Web IDL definitions.' ;
3734
3835extension StringExt on String {
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ dependencies:
1515 code_builder : ^4.10.0
1616 collection : ^1.18.0
1717 dart_flutter_team_lints : ^3.0.0
18- dart_style : ^2.3.4
18+ dart_style : ^2.3.7
1919 io : ^1.0.4
2020 path : ^1.8.3
2121 test : ^1.24.4
You can’t perform that action at this time.
0 commit comments