Skip to content

Commit

Permalink
Use the "new" platform syntax to declare web support
Browse files Browse the repository at this point in the history
https://dart.dev/tools/pub/pubspec#platforms

pana would not mark web as supported, because some dart:io imports are found (all covered with if (kIsWeb) checks)
  • Loading branch information
passsy committed Sep 16, 2024
1 parent 46c43f7 commit 78fe666
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ dev_dependencies:
test: ^1.21.0
transparent_image: ^2.0.0

platforms:
android:
ios:
linux:
macos:
web:
windows:

flutter:
assets:
- packages/wiredash/assets/images/logo_white.png
Expand Down

0 comments on commit 78fe666

Please sign in to comment.