requestFocus property

bool requestFocus
final

Whether or not the navigator and it's new topmost route should request focus when the new route is pushed onto the navigator.

If Route.requestFocus is set on the topmost route, that will take precedence over this value.

Defaults to true.

Implementation

final bool requestFocus;