Last active
August 22, 2017 18:31
-
-
Save ds84182/1d49ecb7eecfc4798e1d1f54a3860418 to your computer and use it in GitHub Desktop.
Testing if Dart can load packages from a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkga:pkga_ | |
pkgb:pkgb_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:pkga/pkga.dart' as pkga; | |
import 'package:pkgb/pkgb.dart' as pkgb; | |
void main() { | |
pkga.foo(); | |
pkgb.foo(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void foo() => print("Hello from package A"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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