Skip to content

Snoy-Kuo/pokedex_bloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pokedex_bloc

Pokedex App using Bloc to manage state.

References

API

  • Visit PokeApi website for detail.
  • Get pokedex
    use: /pokedex/[#]/ , [#]: number of pokedex.
  • Get pokemon types, size, baseExperience, stats, Abilities, Moves
    use: /pokemon/[name], [name]: name of Pokemon.
  • Get pokemon Name, Id, Description, Genus, Egg Groups, Shape, Habitat, Seen At, Color, Capture Rate
    use: /pokemon-species/[name], [name]: name of Pokemon.

Packages

Dev env

  • macOS 11.2.3 (Big Sur) x64
  • Flutter 2.0.5
  • Dart 2.12.3
  • Android Studio 4.1.3
  • Dart Plugin 201.9380
  • Flutter Plugin 55.1.1
  • Android SDK version 30.0.3
  • Xcode 12.4
  • CocoaPods 1.10.1
  • Chrome 90.0.4430.85

Try

  • collect all label texts to a localized class.
  • add local storage as cache for next query.
  • add a FAB on list screen, when tap on FAB shows 2 sub buttons: search by name or id, filter by generation.
  • add search input and search result page.
  • add generation selection bottom dialog.
  • add favorite toggle button on detail page. add show favorites/all func in FAB sub button.
  • add unit tests, widget tests, and integration tests.

The final result is on final_result branch. (not finished yet)

Languages