From 78fe666078037a79bd85818d896acae364ba7d97 Mon Sep 17 00:00:00 2001 From: Pascal Welsch Date: Tue, 17 Sep 2024 00:32:09 +0200 Subject: [PATCH] Use the "new" platform syntax to declare web support 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) --- pubspec.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pubspec.yaml b/pubspec.yaml index 95d94d72..c4555722 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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