Hybrid package incorrectly marked as Flutter-only #1351
Labels
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
type-enhancement
A request for a change that isn't a bug
Related to: dart-lang/pub#3563
I recently published native_storage which is a hybrid package, capable of being used in Dart-only and Flutter contexts. It has no direct or transitive dependencies on the Flutter SDK.
It does, however, declare a
flutter
manifest in thepubspec.yaml
for the cases in which the host project is a Flutter app:https://github.com/celest-dev/celest/blob/32f3c44241468951e07470109f1dc4f1fc266283/packages/native/storage/pubspec.yaml#L45-L49
This causes
pana
to label the package as Flutter-only due to the following:pana/lib/src/pubspec.dart
Lines 63 to 64 in 375a861
The text was updated successfully, but these errors were encountered: