Implemented settings, new scan, enhanced UI/UX
This commit is contained in:
@ -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()),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user