Fix extensions
This commit is contained in:
parent
b0d17e8776
commit
37782c5a27
|
|
@ -52,8 +52,6 @@ List<FletExtension> extensions = [
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
];
|
];
|
||||||
|
|
||||||
extensions.forEach((ext) => ext.ensureInitialized());
|
|
||||||
|
|
||||||
String outLogFilename = "";
|
String outLogFilename = "";
|
||||||
|
|
||||||
// global vars
|
// global vars
|
||||||
|
|
@ -66,6 +64,10 @@ Map<String, String> environmentVariables = {};
|
||||||
void main(List<String> args) async {
|
void main(List<String> args) async {
|
||||||
_args = List<String>.from(args);
|
_args = List<String>.from(args);
|
||||||
|
|
||||||
|
for (var ext in extensions) {
|
||||||
|
ext.ensureInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
runApp(FutureBuilder(
|
runApp(FutureBuilder(
|
||||||
future: prepareApp(),
|
future: prepareApp(),
|
||||||
builder: (BuildContext context, AsyncSnapshot snapshot) {
|
builder: (BuildContext context, AsyncSnapshot snapshot) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue