hungps / flutter_pokedex

Pokedex app built with Flutter (with lots of animations) using Clean Architecture
https://hungps.com
Other
2.31k stars 562 forks source link

Feature: Dynamic titles for screens #60

Closed 0x1026 closed 2 years ago

0x1026 commented 2 years ago

We're seeing 'Pokedex' on all the screens except for 'Type Effects', because we are saying explicitly the name of the screen: image

We should use something like this on all screens: image

But first it would be necessary to integrate that the title is changed automatically when changing the route.

hungps commented 2 years ago

@hugovidafe That could be, but some of the screens use customized AppBar with the dynamic title (for example pokemon_info), and by specifying the global AppBar we are forced to use it on every screen. Unless there is a way to override our customized global AppBar. Any idea?