Skip to content

Commit be1af3b

Browse files
rickdijkclaude
andauthored
Bump flutter_lints to ^6.0.0 in cached_network_image (#1054)
flutter_lints 6 enables unnecessary_library_name, which failed analyze on the Dependabot bump. Drop the library name, keeping a bare `library;` so the library doc comment stays attached. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 2b27d9e commit be1af3b

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

‎cached_network_image/CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [4.0.2] - 2026-09-23
2+
3+
* Bump `flutter_lints` to `^6.0.0` and drop the library name, fixing an `unnecessary_library_name` lint
4+
15
## [4.0.1] - 2026-09-22
26

37
* Use an initializing formal for `MultiImageStreamCompleter`'s `scale`, fixing a `prefer_initializing_formals` lint

‎cached_network_image/lib/cached_network_image.dart‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// Flutter library to load and cache network images.
22
/// Can also be used with placeholder and error widgets.
3-
library cached_network_image;
3+
library;
44

55
export 'package:flutter_cache_manager/flutter_cache_manager.dart'
66
show CacheManagerLogLevel, DownloadProgress;

‎cached_network_image/pubspec.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ topics:
66
- cache
77
- image
88
- network-image
9-
version: 4.0.1
9+
version: 4.0.2
1010

1111
environment:
1212
sdk: ^3.12.0
@@ -23,7 +23,7 @@ dependencies:
2323
material_ui: ^1.0.0
2424
dev_dependencies:
2525
file: '>=7.0.0 <8.0.0'
26-
flutter_lints: ^4.0.0
26+
flutter_lints: ^6.0.0
2727
flutter_test:
2828
sdk: flutter
2929
mocktail: ^1.0.4

0 commit comments

Comments
 (0)