cln_common 0.0.1-beta.3 cln_common: ^0.0.1-beta.3 copied to clipboard
Proposed solution for the package fragmentation across different package and application that used a basic package like building blocks.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add cln_common
With Flutter:
$ flutter pub add cln_common
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
cln_common: ^0.0.1-beta.3
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:cln_common/cln_common.dart';