Watch this video and create your First Flutter Plugins.
What you will learn
How to create Flutter plugin
How to import another plugin inside your plugin
How to Publish plugin in pub .dev
How to test plugin
Description
In this course, you will learn all about How to create and release Flutter Plugin. and create a plugin from scratch
Without destroying any more time, let’s get started.
– – – – – – – – – – –ย Ignore thisย – – – – – – – – – – – –
Flutter supports using shared packages contributed by other developers to the Flutter and Dart ecosystems. This allows quickly building an app without having to develop everything from scratch.
What is the difference between a package and a plugin? A plugin is a type of packageโthe full designation is plugin package, which is generally shortened to plugin.
Packages
At a minimum, a Dart package is a directory containing a pubspec file. Additionally, a package can contain dependencies (listed in the pubspec), Dart libraries, apps, resources, tests, images, and examples. The pub dev site lists many packagesโdeveloped by Google engineers and generous members of the Flutter and Dart communityโ that you can use in your app.
Plugins
A plugin package is a special kind of package that makes platform functionality available to the app. Plugin packages can be written for Android (using Kotlin or Java), iOS (using Swift or Objective-C), web, macOS, Windows, Linux, or any combination thereof. For example, a plugin might provide Flutter apps with the ability to use a deviceโs camera.
Content