Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade: flutter 3.27, dart 3.6 #209

Merged
merged 1 commit into from
Dec 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: melos build:example:android

build_example_ios:
runs-on: macos-14
runs-on: macos-15
timeout-minutes: 20
steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
dart 3.5.4
flutter 3.24.5
dart 3.6.0
flutter 3.27.1
java temurin-17.0.13+11
2 changes: 1 addition & 1 deletion .xcode-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
15.4
16.2
2 changes: 2 additions & 0 deletions examples/nilts_example/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
*.swp
.DS_Store
.atom/
.build/
.buildlog/
.history
.svn/
.swiftpm/
migrate_working_dir/

# IntelliJ related
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ class DefinedAsyncValueGetterType extends DartLintRule {
final typeArgument = returnType.typeArguments.first;
if (typeArgument is VoidType ||
typeArgument is InvalidType ||
typeArgument is NeverType) return;
typeArgument is NeverType) {
return;
}

reporter.atNode(node, _code);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ class DefinedValueGetterType extends DartLintRule {
if (returnType is VoidType ||
returnType is InvalidType ||
returnType is NeverType ||
returnType.isDartAsyncFuture) return;
returnType.isDartAsyncFuture) {
return;
}

reporter.atNode(node, _code);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ class NoSupportWebPlatformCheck extends DartLintRule {
identifierName.name != 'isWindows' &&
identifierName.name != 'isAndroid' &&
identifierName.name != 'isIOS' &&
identifierName.name != 'isFuchsia') return;
identifierName.name != 'isFuchsia') {
return;
}

// Do nothing if the package of identifier is not `dart.io`.
final library = identifierName.staticElement?.library;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ class _ReplaceWithMediaQueryXxxOf extends DartFix {
// Do nothing if the operator of method is not `.` and not `?.`.
final operatorToken = node.operator;
if (operatorToken.type != TokenType.PERIOD &&
operatorToken.type != TokenType.QUESTION_PERIOD) return;
operatorToken.type != TokenType.QUESTION_PERIOD) {
return;
}

final methodTarget = node.realTarget;
if (methodTarget is! MethodInvocation) return;
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ environment:
sdk: '>=3.0.0 <4.0.0'

dev_dependencies:
melos: ^6.1.0
melos: ^6.2.0
Loading