You write a package entirely in pure Dart. Plugins are also (special) Dart packages. They get published to Pub and you interact with them via their Dart interface. The main difference between the two is that with a pure Dart package you don’t need to write any native code and testing is a breeze .
Read moreHow do you add a platform to Android Flutter?
flutter create . You can simply run this from the root of your Flutter project and it will add the required files for all platforms. If you only want to add support for specific enabled platforms, you can do that by supplying the –platforms argument: flutter create –platforms=web,macos .
Read moreHow do I add native code to Flutter?
Writing custom platform-specific code
Read moreHow do you make a Flutter plugin?
How to write a Flutter plugin
Read more