Last active
May 27, 2020 19:52
-
-
Save enriquesaid/80baca9abd34267a3b2eea91a22fe1a0 to your computer and use it in GitHub Desktop.
tested basic main flutter
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:flutter/material.dart'; | |
void main() { | |
App().bootstrap(runApp); | |
} | |
class App { | |
Future<void> bootstrap(Function runner) async { | |
// ...before | |
runner(MyApp()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment