Created
December 15, 2021 05:23
-
-
Save masterwok/65facd45925c96a3cdf24495937e214e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Future<void> main() async { | |
// This must be invoked before reading the configuration. | |
WidgetsFlutterBinding.ensureInitialized(); | |
final config = await Config.from("assets/config.yaml"); | |
runApp(const FooApp()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment