Sameera-Perera / Flutter-TDD-Clean-Architecture-E-Commerce-App

A modern E-Commerce mobile application built with Flutter, TDD, Clean Architecture, and BLoC.
168 stars 54 forks source link

Exception with original unmodified last commit #5

Closed gravitstudio closed 10 months ago

gravitstudio commented 10 months ago

Hi friend, in the last commit I tried to compile app, all work instead this: in phase of buy after press confirm button, compiler show an exception in the attached image

Screenshot 2023-10-14 160618

Sameera-Perera commented 10 months ago

Thank you for reporting this issue, Emiliano. It seems like the 'deliveryInformation' list is empty, causing an exception when trying to access the first element in this list.

In the current development phase, I'm implementing a feature to select specific delivery information from the 'deliveryInformation' list, which can be found in the feature/delivery-info, Once a specific delivery information item is selected from this list, it will be passed as the 'selectedDeliveryInformation' object, replacing the use of 'deliveryInformation.first' and should show proper massage if selectedDeliveryInformation is null. By the end of this feature development this issue will be fixed.

gravitstudio commented 10 months ago

Thank you Sameera, so far it's a good code app, I study it. good job

Emi

Sameera-Perera commented 10 months ago

Fixed. Release v1.0.9.