mirror of
https://github.com/madari-media/madari-oss.git
synced 2026-03-31 03:08:49 +00:00
48 lines
1.3 KiB
Dart
48 lines
1.3 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
class PaymentScreen extends StatelessWidget {
|
|
const PaymentScreen({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
appBar: AppBar(
|
|
title: const Text('Payment Methods'),
|
|
),
|
|
body: ListView(
|
|
children: [
|
|
ListTile(
|
|
leading: const Icon(Icons.add_circle_outline),
|
|
title: const Text('Add Payment Method'),
|
|
onTap: () {
|
|
// Implement add payment method logic
|
|
},
|
|
),
|
|
const Divider(),
|
|
ListTile(
|
|
leading: const Icon(Icons.credit_card),
|
|
title: const Text('•••• •••• •••• 1234'),
|
|
subtitle: const Text('Expires 12/24'),
|
|
trailing: IconButton(
|
|
icon: const Icon(Icons.more_vert),
|
|
onPressed: () {
|
|
// Show card options
|
|
},
|
|
),
|
|
),
|
|
ListTile(
|
|
leading: const Icon(Icons.payment),
|
|
title: const Text('PayPal'),
|
|
subtitle: const Text('john.doe@example.com'),
|
|
trailing: IconButton(
|
|
icon: const Icon(Icons.more_vert),
|
|
onPressed: () {
|
|
// Show PayPal options
|
|
},
|
|
),
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|