Longer-running functions should be invoked on a
helper isolate to avoid dropping frames in
Flutter applications.
For an example, see sumAsync in lib/hello.dart.

Adding documentation

It is recommended practice to add the following documentation
to all packages:

A README.md file that introduces the package

A CHANGELOG.md file that documents changes in each version

A LICENSE file containing the terms under which the package
is licensed

API documentation for all public APIs (see below for details)

API documentation

When you publish a package,
API documentation is automatically generated and
published to pub.dev/documentation.
For example, see the docs for device_info.

If you wish to generate API documentation locally on
your development machine, use the following commands:

Change directory to the location of your package:

    
cd ~/dev/mypackage