Skip to content

Instantly share code, notes, and snippets.

@ds84182
Last active August 22, 2017 18:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ds84182/1d49ecb7eecfc4798e1d1f54a3860418 to your computer and use it in GitHub Desktop.
Save ds84182/1d49ecb7eecfc4798e1d1f54a3860418 to your computer and use it in GitHub Desktop.
Testing if Dart can load packages from a gist
pkga:pkga_
pkgb:pkgb_
import 'package:pkga/pkga.dart' as pkga;
import 'package:pkgb/pkgb.dart' as pkgb;
void main() {
pkga.foo();
pkgb.foo();
}
void foo() => print("Hello from package A");
void foo() => print("Hello from package B!");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment