base_package 1.0.1 copy "base_package: ^1.0.1" to clipboard
base_package: ^1.0.1 copied to clipboard

outdated

Create a short demo in the example/ directory to show how to use this package. Common filename patterns include main.dart, example.dart, and base_package.dart. Packages with multiple examples should [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add base_package

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

dependencies:
  base_package: ^1.0.1

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:base_package/base_package.dart';
0
likes
10
pub points
0%
popularity

Publisher

unverified uploader

Create a short demo in the example/ directory to show how to use this package. Common filename patterns include main.dart, example.dart, and base_package.dart. Packages with multiple examples should provide example/README.md. For more information see the pub package layout conventions.

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on base_package