22 lines
467 B
Dart
22 lines
467 B
Dart
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));
|
|
}
|
|
}
|