Hotel App using Flutter, simple API calls, BLoC, Clean Architecture and Retrofit.
This is the test Hotel App project. App Designed fot both Android and iOS. The app consists of 4 screens, which are divided for 4 features. Each API call can be changed in ..data/data_sources/remote/api_name.dart
-
Hotel
Getting data about the certain hotel from API. Button 'К выбору номера' is the only active button and it redirect to Rooms screen.
-
Rooms
Gettig data about rooms from API. Regardless of the number of rooms, any of the 'Выбать номер' buttons redirects to same Booking screen.
-
Booking
Gettind data about booking details from API. 'Tourist' blocks are expandable. Button 'Добавить туриста' adds new 'Tourist' block. Every TextField has a validation for empty value. Phone TextField has a mask, which allows enter only digits. Email TextField validates according to a standard template. Field 'К оплате' summarizes values from 3 fields above. Button 'Оплатить' navigates to Congrats screen.
-
Congrats
Does not interact with api. Every time generates random order number. Button 'Cупер!' redirects to first Hotel screen.



