Skip to content

Instantly share code, notes, and snippets.

@ds84182
Last active Aug 22, 2017
Embed
What would you like to do?
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