my_lib 1.0.0 copy "my_lib: ^1.0.0" to clipboard
my_lib: ^1.0.0 copied to clipboard

This is the main start of my lib.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add my_lib

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  my_lib: ^1.0.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:my_lib/my_lib.dart';
1
likes
130
points
30
downloads

Publisher

unverified uploader

Weekly Downloads

This is the main start of my lib.

Documentation

API reference

License

unknown (license)

Dependencies

flutter

More

Packages that depend on my_lib