2024-08-03 22:37:10 +00:00
|
|
|
import 'package:flutter/material.dart';
|
2024-07-27 13:13:42 +00:00
|
|
|
import 'package:mnemo_cards/main.dart';
|
|
|
|
|
import 'package:mnemo_cards_frontend_common/mnemo_cards_frontend_common.dart';
|
|
|
|
|
|
|
|
|
|
import '../di/locator.dart';
|
|
|
|
|
import '../domain/router/app_router.dart';
|
2024-08-18 16:52:03 +00:00
|
|
|
import '../features/subscription/subscription_page.dart';
|
2024-07-27 13:13:42 +00:00
|
|
|
|
|
|
|
|
class MobileBuySubscriptionWidget extends StatelessWidget {
|
|
|
|
|
@override
|
|
|
|
|
Widget build(BuildContext context) {
|
2024-08-18 16:52:03 +00:00
|
|
|
return BuySubscriptionWidget(
|
|
|
|
|
onBuySubscription: () =>
|
|
|
|
|
locator.subscriptionManager.openSubscriptionPage(),
|
2024-08-03 22:37:10 +00:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-18 16:52:03 +00:00
|
|
|
const MobileBuySubscriptionWidget();
|
2024-08-03 22:37:10 +00:00
|
|
|
}
|