>=2.1.0

<3.0.0"

# Flutter versions prior to 1.12 did not support the

# flutter.plugin.platforms map.

flutter

>=1.12.0"

When adding plugin implementations for more platforms,
the platforms map should be updated accordingly.
For example, here’s the map in the pubspec file
for the hello plugin,
when updated to add support for macOS and web:

flutter

plugin

platforms

android

package

com.example.hello

pluginClass

HelloPlugin

ios

pluginClass

HelloPlugin

macos

pluginClass

HelloPlugin

web

pluginClass

HelloPlugin

fileName