2023-03-30 19:24:18 +00:00
|
|
|
import 'package:flutter/material.dart';
|
2023-05-11 13:30:18 +00:00
|
|
|
import 'package:lightmeter/application.dart';
|
2023-09-28 21:29:33 +00:00
|
|
|
import 'package:lightmeter/application_wrapper.dart';
|
2023-01-25 10:08:11 +00:00
|
|
|
import 'package:lightmeter/environment.dart';
|
2023-10-17 10:00:32 +00:00
|
|
|
import 'package:m3_lightmeter_iap/m3_lightmeter_iap.dart';
|
2023-01-25 10:08:11 +00:00
|
|
|
|
2023-03-30 19:24:18 +00:00
|
|
|
Future<void> main() async {
|
|
|
|
WidgetsFlutterBinding.ensureInitialized();
|
2023-10-17 10:00:32 +00:00
|
|
|
runApp(
|
2023-10-18 22:24:49 +00:00
|
|
|
IAPProducts(
|
|
|
|
products: [IAPProduct(storeId: IAPProductType.paidFeatures.storeId)],
|
|
|
|
child: const ApplicationWrapper(
|
2023-10-17 10:00:32 +00:00
|
|
|
Environment.dev(),
|
|
|
|
child: Application(),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
2023-03-30 19:24:18 +00:00
|
|
|
}
|