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