在pub.dev(Flutter插件)上支持多种平台警告

时间:2020-08-01 18:27:55

标签: flutter dart

我是Flutter插件的开发人员。

创建我的插件是为了轻松从Flutter调用本机iOS和Android API。

因此,这仅与iOS和Android兼容。

但是,由于在pub.dev上发布了插件,我收到了以下警告

Support multiple platforms 10 / 20

10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)
Consider supporting multiple platforms:

 Package does not support Flutter platform Web
Because:

package:xxx/xxx.dart that declares support for platforms: Android, iOS
Consider supporting these prerelease platforms:

 Package does not support Flutter platform Windows
Because:

package:xxx/xxx.dart that declares support for platforms: Android, iOS
 Package does not support Flutter platform Linux
Because:

package:xxx/xxx.dart that declares support for platforms: Android, iOS
 Package does not support Flutter platform macOS
Because:

package:xxx/xxx.dart that declares support for platforms: Android, iOS

如何解决警告?

0 个答案:

没有答案