File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 6
6
* Require Dart >= 3.3.0.
7
7
* Require analyzer 6.4.1.
8
8
* Add support for extension types.
9
+ * Require dart_style >= 2.3.7, so that the current Dart language version can be
10
+ passed to ` DartFormatter ` .
9
11
10
12
## 5.4.4
11
13
Original file line number Diff line number Diff line change @@ -144,7 +144,9 @@ class MockBuilder implements Builder {
144
144
// The source lib may be pre-null-safety because of an explicit opt-out
145
145
// (`// @dart=2.9`), as opposed to living in a pre-null-safety package. To
146
146
// allow for this situation, we must also add an opt-out comment here.
147
- final mockLibraryContent = DartFormatter ().format ('''
147
+ final mockLibraryContent =
148
+ DartFormatter (languageVersion: DartFormatter .latestLanguageVersion)
149
+ .format ('''
148
150
// Mocks generated by Mockito $packageVersion from annotations
149
151
// in ${entryLib .definingCompilationUnit .source .uri .path }.
150
152
// Do not manually edit this file.
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ dependencies:
13
13
build : ^2.0.0
14
14
code_builder : ^4.5.0
15
15
collection : ^1.15.0
16
- dart_style : ^2.0.0
16
+ dart_style : ^2.3.7
17
17
matcher : ^0.12.15
18
18
meta : ^1.3.0
19
19
path : ^1.8.0
You can’t perform that action at this time.
0 commit comments