r/FlutterDev • • Feb 26 '21

Plugin `pub.dev`now shows desktop platform compatibility. (linux, windows, mac)

here's a screenshot: Imgur

107 Upvotes

16 comments sorted by

View all comments

1

u/RandalSchwartz Feb 26 '21

Unfortunately, it's not automatic. You need to declare it in your pubspec before pub publish. So there are probably many packages that are already desktop-savvy but aren't so marked. (edit: see https://flutter.dev/docs/development/packages-and-plugins/developing-packages#plugin-platforms for details.)

8

u/Ultra1101 Feb 26 '21

I don't see how they would automate it anyway. It's the responsibility of package authors to maintain and manage their package, this falls under that.

3

u/RandalSchwartz Feb 26 '21

Yeah, but the ios/android/web thing was mostly automated, based on imports, I presume.