settings:

settings

builder:

BuildContext

context

return

const

Text

'first Navigator'

);

);

},

),

Navigator

onGenerateRoute:

RouteSettings

settings

return

MaterialPageRoute

void

>(

settings:

settings

builder:

BuildContext

context

return

const

Text

'Second Navigator'

);

);

},

),

],

);

);