feat: order infinty scroll
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user