mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 15:30:59 +00:00
12 lines
402 B
Dart
12 lines
402 B
Dart
import 'package:firebase_core/firebase_core.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:lightmeter/firebase_options.dart';
|
|
|
|
import 'application.dart';
|
|
import 'environment.dart';
|
|
|
|
Future<void> launchApp(Environment env) async {
|
|
WidgetsFlutterBinding.ensureInitialized();
|
|
await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);
|
|
runApp(Application(env));
|
|
}
|