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

Contoh penggunaan source generation.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add custom_package

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

dependencies:
  custom_package: ^1.0.1

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

Import it

Now in your Dart code, you can use:

import 'package:custom_package/custom_package.dart';
2
likes
15
pub points
0%
popularity

Publisher

unverified uploader

Contoh penggunaan source generation.

Homepage

License

BSD-3-Clause (LICENSE)

Dependencies

analyzer, build, build_runner, source_gen

More

Packages that depend on custom_package