Continued from previous day:
- Use Token instead of String to represent current player
- Refactor winnerPopup() into two distinct functions:
- Change player if game is not finished
- Get the status text
- Write test cases to each new function
- Refactor winnerPopup() into two distinct functions:
- Use
GestureDetector
instead of FlatButton
-
Morning Challenge Starter Repository
-
Refactoring point 5 and 6
-
Fit And finish of new york time clone
- Make sure you have two screens as shown:
- In first screen, get the font of heading and description to be of serif family
- Handle null values lookup
??
operator in dart - Spacing is important
- Description text top align
- Images of the same size
- Remove source from the title
- Handle overflow of the text
- Add placeholder caption to the image as it is not provided by the API
- See image is going from left end to right end
- Time format and author name correct
- Handle null cases as well
- Have app bar with action buttons
- Proper font and styling applied
-
Currency Exchange Rate Starter Repo Create an app having layout like this:
You can use this Exchange Rate API service to fetch the exchange rates
If this app is opened in iOS you should show iOS specific choice picker as shown here:
-
Stretch New York Times Modification
- Use hero animation to animate the image from list to detail page
- Implement pull to refresh on news list page
- Use image plugin to make the image interactive (zoom in and zoom out in separate screen)