my_test_pkg 0.0.2
my_test_pkg: ^0.0.2 copied to clipboard
this is god packae for all its is only for test purpose
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add my_test_pkg
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
my_test_pkg: ^0.0.2
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_test_pkg/my_package.dart';
import 'package:my_test_pkg/show_msg.dart';