2023-07-19 08:35:31 +00:00
|
|
|
library m3_lightmeter_iap;
|
|
|
|
|
2023-07-19 14:30:29 +00:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:m3_lightmeter_iap/src/providers/equipment_profile_provider.dart';
|
|
|
|
import 'package:m3_lightmeter_iap/src/providers/iap_products_provider.dart';
|
|
|
|
|
2023-07-19 08:35:31 +00:00
|
|
|
export 'src/data/models/iap_product.dart';
|
|
|
|
|
2023-07-19 14:30:29 +00:00
|
|
|
export 'src/providers/equipment_profile_provider.dart' hide EquipmentProfilesAspect;
|
2023-07-19 08:35:31 +00:00
|
|
|
export 'src/providers/iap_products_provider.dart';
|
2023-07-19 14:30:29 +00:00
|
|
|
|
|
|
|
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(
|
|
|
|
child: EquipmentProfileProvider(
|
|
|
|
child: child,
|
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|