From 85a91ccb3c5833680895b469c07a6feedf3f9f90 Mon Sep 17 00:00:00 2001 From: Rick van Dijk Date: Wed, 23 Sep 2026 12:41:07 -0700 Subject: [PATCH] Bump flutter_lints to ^6.0.0 in cached_network_image_platform_interface 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 --- cached_network_image_platform_interface/CHANGELOG.md | 4 ++++ .../lib/cached_network_image_platform_interface.dart | 2 +- cached_network_image_platform_interface/pubspec.yaml | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/cached_network_image_platform_interface/CHANGELOG.md b/cached_network_image_platform_interface/CHANGELOG.md index bde3ef76..55001b85 100644 --- a/cached_network_image_platform_interface/CHANGELOG.md +++ b/cached_network_image_platform_interface/CHANGELOG.md @@ -1,3 +1,7 @@ +## [5.0.2] - 2026-09-23 + +* Bump `flutter_lints` to `^6.0.0` and drop the library name, fixing an `unnecessary_library_name` lint + ## [5.0.1] - 2026-09-22 * Reformat with the current Dart formatter diff --git a/cached_network_image_platform_interface/lib/cached_network_image_platform_interface.dart b/cached_network_image_platform_interface/lib/cached_network_image_platform_interface.dart index d61566cd..4c681e2e 100644 --- a/cached_network_image_platform_interface/lib/cached_network_image_platform_interface.dart +++ b/cached_network_image_platform_interface/lib/cached_network_image_platform_interface.dart @@ -1,5 +1,5 @@ /// Platform interface for CachedNetworkImage -library cached_network_image_platform_interface; +library; import 'dart:async'; import 'dart:ui' as ui; diff --git a/cached_network_image_platform_interface/pubspec.yaml b/cached_network_image_platform_interface/pubspec.yaml index e1b323e3..3b04a7c5 100644 --- a/cached_network_image_platform_interface/pubspec.yaml +++ b/cached_network_image_platform_interface/pubspec.yaml @@ -1,6 +1,6 @@ name: cached_network_image_platform_interface description: Platform interface for CachedNetworkImage -version: 5.0.1 +version: 5.0.2 homepage: https://github.com/Baseflow/flutter_cached_network_image environment: @@ -15,6 +15,6 @@ dependencies: material_ui: ^1.0.0 dev_dependencies: file: '>=7.0.0 <8.0.0' - flutter_lints: ^4.0.0 + flutter_lints: ^6.0.0 flutter_test: sdk: flutter