The application overall contains 2 pages as task assigned (Search Screen / Favorite Screen). In addition, I added splash screen at first. Moreover, some of the packages are imported as per the needs for the development
- flutter_bloc
- equatable
- cached_network_image
- shimmer
- flutter_svg
- flutter_toastr
- shared_preferences (To presist Favorite image)
For the state management, bloc has been implemented via package called flutter_bloc. Moreover, bloc pattern is followed as a design pattern. To achieve animations, I implemented hero animation. Finally, assigned tasks are implemented respectively on the application.
https://drive.google.com/file/d/1YYN0lOpcmlpdSrfXOnpyDLn5IiphoCXR/view?usp=sharing
- Unit Test: 2
- Widget Test: 1
- Integration Test: 1
Environment for widget / integartion testing is not setup properly which led to failure in test cases. However, test cases works fine on unit testing.