The widget for the default route of the app (Navigator.defaultRouteName,
The difference between using home and using builder is that the home subtree is inserted into the application below a Navigator (and thus below an Overlay, which Navigator uses). With home, therefore, dialog boxes will work automatically, the routes table will be used, and APIs such as Navigator.push and Navigator.pop will work as expected. In contrast, the widget returned from builder is inserted above the app's Navigator (if any). If this property is set, the pageRouteBuilder property must also be set so that the default route handler will know what kind of PageRoutes to build.
final Widget home