arguments property

Object? arguments
final

Optional arguments just like you have with the Navigator API.

Fun story, I really needed this as I started building complex dialogs with more than one purpose. E.g using one dialog with form for creating and updating some record. For updating, you might want to prefill the fields.

Those values can be pulled from arguments.

Implementation

final Object? arguments;