Skip to content

Commit 24dcd57

Browse files
gnpricechrisbobbe
authored andcommitted
deps: Upgrade Flutter to latest main, 3.14.0-5.0.pre.23
And update Flutter's supporting libraries to match. Also remove a `!` operator that Dart 3.2 identifies as redundant. (Happily, the change seems to be controlled by the version specified in our pubspec.yaml, not by the version of the Dart binary -- so a newer Dart binary will accept our code both before and after this change.)
1 parent 62f44b2 commit 24dcd57

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

lib/api/core.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class ApiConnection {
6464

6565
void addAuth(http.BaseRequest request) {
6666
if (_authValue != null) {
67-
request.headers['Authorization'] = _authValue!;
67+
request.headers['Authorization'] = _authValue;
6868
}
6969
}
7070

pubspec.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,10 @@ packages:
181181
dependency: "direct main"
182182
description:
183183
name: collection
184-
sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
184+
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
185185
url: "https://pub.dev"
186186
source: hosted
187-
version: "1.17.2"
187+
version: "1.18.0"
188188
convert:
189189
dependency: transitive
190190
description:
@@ -1078,5 +1078,5 @@ packages:
10781078
source: hosted
10791079
version: "3.1.2"
10801080
sdks:
1081-
dart: ">=3.1.0-285.0.dev <4.0.0"
1082-
flutter: ">=3.12.0-15.0.pre.69"
1081+
dart: ">=3.2.0-73.0.dev <4.0.0"
1082+
flutter: ">=3.14.0-5.0.pre.23"

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ environment:
2424
# that by the time we want to release, these will have become stable.
2525
# TODO: Before general release, switch to stable Flutter and Dart versions,
2626
# or pin exact versions: https://github.com/zulip/zulip-flutter/issues/15
27-
sdk: '>=3.1.0-285.0.dev <4.0.0'
28-
flutter: '>=3.12.0-15.0.pre.69'
27+
sdk: '>=3.2.0-73.0.dev <4.0.0'
28+
flutter: '>=3.14.0-5.0.pre.23'
2929

3030
# Dependencies specify other packages that your package needs in order to work.
3131
# To automatically upgrade your package dependencies to the latest versions

0 commit comments

Comments
 (0)