The Flutter documentation is so vague. Can you guys explain what Google is vaguely saying:
Navigator Class
Many apps have a navigator near the top of their widget hierarchy in order to display their logical history using an Overlay with the most recently visited pages visually on top of the older pages.
Scaffold Class
Implements the basic material design visual layout structure.
Navigator
"Near the top" means near the root of the widget hierarchy. For example if you use MaterialApp
it contains a Navigator that allows to switch between different pages.
Near the top means that adding a different route overlays all of the screen, not just a small part like a popup. There can be additional Navigators inside such a page for example to overlay smaller parts of the view.
A bar with tabbar like functionality that allows to control which page the Navigator shows.
Scaffold
That they are different widgets makes it easier to replace one or the other with a custom implementation without the need to implement also the other in your custom implementation. Flutter is all about composability.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With