This repository has been archived on 2023-11-13. You can view files and clone it, but cannot push or open issues or pull requests.
imagini/web_native/lib/core/env.dart
2021-02-11 15:47:42 -05:00

22 lines
469 B
Dart

import 'package:flutter/material.dart';
import 'package:imagini/core/app_component.dart';
import 'package:imagini/core/imagini_application.dart';
class Env {
static Env value;
String appName;
Env() {
value = this;
_init();
}
_init() async {
WidgetsFlutterBinding.ensureInitialized();
var application = ImaginiApplication();
await application.onCreate();
runApp(AppComponent(application));
}
}