dialogRoutes property

Map<String, Widget Function(BuildContext)> dialogRoutes
final

Top level dialog routing table.

When a dialog is pushed with showDialog, the corresponding dialog name is looked up and it's associated widget returned.

If no dialog implementation is found, errorDialog or the default error dialog (if errorDialog is null) is returned.

Implementation

final Map<String, Widget Function(BuildContext)> dialogRoutes;