removed payment methods page for now
This commit is contained in:
@@ -27,12 +27,14 @@ class DashboardPage extends StatefulWidget {
|
||||
final ValueChanged<Recipient> onRecipientSelected;
|
||||
final void Function(PaymentType type) onGoToPaymentWithoutRecipient;
|
||||
final ValueChanged<Wallet> onTopUp;
|
||||
final ValueChanged<Wallet> onWalletTap;
|
||||
|
||||
const DashboardPage({
|
||||
super.key,
|
||||
required this.onRecipientSelected,
|
||||
required this.onGoToPaymentWithoutRecipient,
|
||||
required this.onTopUp,
|
||||
required this.onWalletTap,
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -88,6 +90,7 @@ class _DashboardPageState extends State<DashboardPage> {
|
||||
create: (_) => CarouselIndexController(),
|
||||
child: BalanceWidget(
|
||||
onTopUp: widget.onTopUp,
|
||||
onWalletTap: widget.onWalletTap,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: AppSpacing.small),
|
||||
|
||||
Reference in New Issue
Block a user