Skip to content

Commit

Permalink
build: Update flutter lints
Browse files Browse the repository at this point in the history
  • Loading branch information
krille-chan committed Oct 9, 2024
1 parent 852b69a commit 93ee76c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 28 deletions.
4 changes: 2 additions & 2 deletions lib/widgets/mxc_image.dart
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class _MxcImageState extends State<MxcImage> {
}
}

void _tryLoad(_) async {
void _tryLoad([_]) async {
if (_imageData != null) {
return;
}
Expand All @@ -113,7 +113,7 @@ class _MxcImageState extends State<MxcImage> {
} catch (_) {
if (!mounted) return;
await Future.delayed(widget.retryDuration);
_tryLoad(_);
_tryLoad();
}
}

Expand Down
37 changes: 12 additions & 25 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,10 @@ packages:
dependency: transitive
description:
name: _fe_analyzer_shared
sha256: f256b0c0ba6c7577c15e2e4e114755640a875e885099367bf6e012b19314c834
sha256: ae92f5d747aee634b87f89d9946000c2de774be1d6ac3e58268224348cd0101a
url: "https://pub.dev"
source: hosted
version: "72.0.0"
_macros:
dependency: transitive
description: dart
source: sdk
version: "0.3.2"
version: "61.0.0"
adaptive_dialog:
dependency: "direct main"
description:
Expand All @@ -26,10 +21,10 @@ packages:
dependency: transitive
description:
name: analyzer
sha256: b652861553cd3990d8ed361f7979dc6d7053a9ac8843fa73820ab68ce5410139
sha256: ea3d8652bda62982addfd92fdc2d0214e5f82e43325104990d4f4c4a2a313562
url: "https://pub.dev"
source: hosted
version: "6.7.0"
version: "5.13.0"
animations:
dependency: "direct main"
description:
Expand Down Expand Up @@ -580,10 +575,10 @@ packages:
dependency: "direct dev"
description:
name: flutter_lints
sha256: "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1"
sha256: "5398f14efa795ffb7a33e9b6a08798b26a180edac4ad7db3f231e40f82ce11e1"
url: "https://pub.dev"
source: hosted
version: "3.0.2"
version: "5.0.0"
flutter_local_notifications:
dependency: "direct main"
description:
Expand Down Expand Up @@ -1151,10 +1146,10 @@ packages:
dependency: transitive
description:
name: lints
sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290
sha256: "3315600f3fb3b135be672bf4a178c55f274bebe368325ae18462c89ac1e3b413"
url: "https://pub.dev"
source: hosted
version: "3.0.0"
version: "5.0.0"
list_counter:
dependency: transitive
description:
Expand Down Expand Up @@ -1203,14 +1198,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.5.0"
macros:
dependency: transitive
description:
name: macros
sha256: "0acaed5d6b7eab89f63350bccd82119e6c602df0f391260d0e32b5e23db79536"
url: "https://pub.dev"
source: hosted
version: "0.1.2-main.4"
markdown:
dependency: transitive
description:
Expand Down Expand Up @@ -1343,10 +1330,10 @@ packages:
dependency: transitive
description:
name: pana
sha256: "3fc3fe8e7a9fd4827fa4d625a423eec95d305b2bc3538a3adf7fd6c49217af97"
sha256: a9c03df79c6dde15848efbfb49b07065c30cc13e828e517c2a36eb83d4cffc41
url: "https://pub.dev"
source: hosted
version: "0.21.45"
version: "0.21.33"
pasteboard:
dependency: "direct main"
description:
Expand Down Expand Up @@ -1988,10 +1975,10 @@ packages:
dependency: transitive
description:
name: tar
sha256: "22f67e2d77b51050436620b2a5de521c58ca6f0b75af1d9ab3c8cae2eae58fcd"
sha256: "85ffd53e277f2bac8afa2885e6b195e26937e9c402424c3d88d92fd920b56de9"
url: "https://pub.dev"
source: hosted
version: "1.0.5"
version: "0.5.6"
term_glyph:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ dependencies:
webrtc_interface: ^1.0.13

dev_dependencies:
flutter_lints: ^3.0.0
flutter_lints: ^5.0.0
flutter_native_splash: ^2.0.3+1
flutter_test:
sdk: flutter
Expand Down

0 comments on commit 93ee76c

Please sign in to comment.