Implemented settings, new scan, enhanced UI/UX

This commit is contained in:
Dennis Nemec
2025-11-04 16:52:39 +01:00
parent b19a6e1cd4
commit 7ea9108f62
79 changed files with 3306 additions and 566 deletions

View File

@ -98,7 +98,7 @@ class _DeliverySummaryState extends State<DeliverySummary> {
initialSelection: widget.delivery.payment.id,
onSelected: (id) {
context.read<DeliveryBloc>().add(
UpdateSelectedPaymentMethod(
UpdateSelectedPaymentMethodEvent(
payment: _paymentMethods.firstWhere(
(payment) => payment.id == id,
),
@ -108,10 +108,6 @@ class _DeliverySummaryState extends State<DeliverySummary> {
);
}
Widget _payment() {
return _paymentOptions();
}
Widget _paymentDone() {
return DecoratedBox(
decoration: BoxDecoration(
@ -174,7 +170,7 @@ class _DeliverySummaryState extends State<DeliverySummary> {
),
),
Padding(padding: insets, child: _payment()),
Padding(padding: insets, child: _paymentOptions()),
],
),
);