A specialized Dart package that contains an API written in
Dart code combined with one or more platform-specific
implementations that use Dart FFI(Android, iOS, macOS).

Developing Dart packages

The following instructions explain how to write a Flutter
package.

Step 1: Create the package

To create a starter Flutter package,
use the --template=package flag with flutter create:

flutter create

-template

=package hello

This creates a package project in the hello
folder with the following content:

A (mostly) empty license text file.

The unit tests for the package.

A configuration file used by the IntelliJ IDEs.

A hidden file that tells Git which files or
folders to ignore in a project.

A hidden file used by IDEs to track the properties
of the Flutter project.