onGenerateDialog property
DialogRouteGenerator?
onGenerateDialog
final
Dialog generator callback that allows binding data with dialogs.
When a dialog is pushed with showDialog, the corresponding dialog name is looked up and it's associated widget constructed. Data passed from showDialog can be extracted from DialogSettings here and passed down to the widget.
Implementation
final DialogRouteGenerator? onGenerateDialog;