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

22 lines
467 B
Dart
Raw Normal View History

import 'package:flutter/material.dart';
import 'package:imagini/core/AppComponent.dart';
import 'package:imagini/core/ImaginiApplication.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));
}
}