- UI changes for Dark mode ON & OFF
- Widget testing home to details screen UI
- Unit testing api call
- Flutter Provider for state management
Source code is self-explanatory. You can watch full video my Youtube channel here: https://www.youtube.com/watch?v=lnY5EB3Xf_Q
Here's short preview:
youtube.-.devxraju.mp4
- Open app, It will open home_screen.dart
- It will make api call
- It will show list of users
- Tap any list item
- Edit name , email or phone. Make sure it is not empty.
- Click save button. Since I couldn't find save api, I have assumed success response.
- It will show User updated successfully toast
- Press back to exit details screen or edit details further
- If exited details_screen.dart, you should see updated details on HomeScreen automatically.
- Open user_service.dart put any url at line 16/17 where comment mentioned as:"EDIT MOCK WRONG URLS"
- It will make api call and api will fail as wrong endpoint provided.
- It will show retry button
- Tap on retry to retry