In your Dart code, you use the plugin’s Dart API to call the native
code from the system library being used. This means that you can write
the code to call the Dart API. The API then makes it work for all
platforms that the plugin supports.

To learn more about plugins, see Using packages.
Though this page links to some popular plugins,
you can find thousands more, along with examples,
on pub.dev. The following table does not endorse any particular plugin.
If you can’t find a package that meets your need,
you can create your own or use platform channels directly in your project.
To learn more, see Writing platform-specific code.

Adding a plugin to your project

To use an Apple framework within your native project,
import it into your Swift or Objective-C file.