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-11 15:02:44 +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-11 15:02:44 +00:00
|
|
|
export 'src/providers/equipment_profile_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-11 15:02:44 +00:00
|
|
|
child: FilmsProvider(
|
|
|
|
child: EquipmentProfileProvider(
|
|
|
|
child: child,
|
|
|
|
),
|
2023-09-02 08:32:08 +00:00
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|