detailsRoute property

String detailsRoute
final

The name of the details route. When trying to show specific content in the details pane, navigation must be done used named routes and be done in a manner similar to Uri-based navigation. For example, if detailsRoute is set to be item, navigation can be done as follows

MasterDetailScaffold.of(context).detailsPaneNavigator.pushNamed(context, 'item?id=1');

The route and query string parameters will be passed to the onDetailsPaneRouteChanged callback.

Implementation

final String detailsRoute;