rizkraf_belajar_dart_library 1.5.0 rizkraf_belajar_dart_library: ^1.5.0 copied to clipboard
This is library for learning dart packages from PZN.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add rizkraf_belajar_dart_library
With Flutter:
$ flutter pub add rizkraf_belajar_dart_library
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
rizkraf_belajar_dart_library: ^1.5.0
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:rizkraf_belajar_dart_library/belajar_dart_library.dart';
import 'package:rizkraf_belajar_dart_library/hello.dart';