2023-09-02 08:32:08 +00:00
|
|
|
library m3_lightmeter_iap;
|
|
|
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:m3_lightmeter_iap/src/providers/equipment_profile_provider.dart';
|
2023-09-14 14:59:16 +00:00
|
|
|
import 'package:m3_lightmeter_iap/src/providers/films_provider.dart';
|
2023-09-02 08:32:08 +00:00
|
|
|
import 'package:m3_lightmeter_iap/src/providers/iap_products_provider.dart';
|
|
|
|
|
|
|
|
export 'src/data/models/iap_product.dart';
|
|
|
|
|
2023-09-14 14:59:16 +00:00
|
|
|
export 'src/providers/equipment_profile_provider.dart';
|
|
|
|
export 'src/providers/films_provider.dart';
|
2023-09-02 08:32:08 +00:00
|
|
|
export 'src/providers/iap_products_provider.dart';
|
|
|
|
|
|
|
|
class IAPProviders extends StatelessWidget {
|
|
|
|
final Object sharedPreferences;
|
|
|
|
final Widget child;
|
|
|
|
|
|
|
|
const IAPProviders({
|
|
|
|
required this.sharedPreferences,
|
|
|
|
required this.child,
|
|
|
|
super.key,
|
|
|
|
});
|
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return IAPProductsProvider(
|
2023-09-14 14:59:16 +00:00
|
|
|
child: FilmsProvider(
|
|
|
|
child: EquipmentProfileProvider(
|
|
|
|
child: child,
|
|
|
|
),
|
2023-09-02 08:32:08 +00:00
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|