From f28a6bd24f1d87c16437cae48de0b2c8c04043af Mon Sep 17 00:00:00 2001 From: Stuart Morgan Date: Fri, 20 Mar 2026 12:49:03 -0400 Subject: [PATCH] [cupertino_icons] Remove empty Dart file It used to be impossible to publish a package without a lib/ directory, which is why there is a placeholder file. That hasn't been true for quite a while, however, so we don't need to keep shipping an empty file. This will also fix the questionable pana score deduction for not having any documentation (without us having to add a library directive just to document that no code is needed). Part of https://github.com/flutter/flutter/issues/183844 --- third_party/packages/cupertino_icons/CHANGELOG.md | 3 ++- .../packages/cupertino_icons/lib/cupertino_icons.dart | 8 -------- third_party/packages/cupertino_icons/pubspec.yaml | 2 +- 3 files changed, 3 insertions(+), 10 deletions(-) delete mode 100644 third_party/packages/cupertino_icons/lib/cupertino_icons.dart diff --git a/third_party/packages/cupertino_icons/CHANGELOG.md b/third_party/packages/cupertino_icons/CHANGELOG.md index 7773a24be5eb..f90a47f4876b 100644 --- a/third_party/packages/cupertino_icons/CHANGELOG.md +++ b/third_party/packages/cupertino_icons/CHANGELOG.md @@ -1,5 +1,6 @@ -## NEXT +## 1.0.9 +* Removes empty Dart file. * Updates minimum supported SDK version to Flutter 3.35/Dart 3.9. ## 1.0.8 diff --git a/third_party/packages/cupertino_icons/lib/cupertino_icons.dart b/third_party/packages/cupertino_icons/lib/cupertino_icons.dart deleted file mode 100644 index 4ddfa3457a84..000000000000 --- a/third_party/packages/cupertino_icons/lib/cupertino_icons.dart +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright 2013 The Flutter Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -// File to create a lib/ directory for a well-formed .packages file and to -// conform to pub analyzer. -// -// This is an asset package. No dart import needed. diff --git a/third_party/packages/cupertino_icons/pubspec.yaml b/third_party/packages/cupertino_icons/pubspec.yaml index fa704b9d473e..2981bda5b6a2 100644 --- a/third_party/packages/cupertino_icons/pubspec.yaml +++ b/third_party/packages/cupertino_icons/pubspec.yaml @@ -3,7 +3,7 @@ name: cupertino_icons description: Default icons asset for Cupertino widgets based on Apple styled icons repository: https://github.com/flutter/packages/tree/main/third_party/packages/cupertino_icons issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+cupertino_icons%22 -version: 1.0.8 +version: 1.0.9 environment: sdk: ^3.9.0