feat: order infinty scroll

This commit is contained in:
efrilm
2025-08-06 15:46:22 +07:00
parent be803bbe4f
commit 7ee7db225c
7 changed files with 764 additions and 132 deletions
@@ -66,7 +66,13 @@ class _PaymentAddOrderDialogState extends State<PaymentAddOrderDialog> {
Center(child: const CircularProgressIndicator()),
loading: () =>
Center(child: const CircularProgressIndicator()),
loaded: (orders, totalOrder) {
loaded: (
orders,
totalOrder,
_,
__,
___,
) {
final availableOrders = orders;
if (selectOrder == null && availableOrders.isNotEmpty) {