onSaved property

VoidCallback? onSaved
final

Called after a successful save INSTEAD of popping the route (the toast still shows). PanelShell's detail pane wires this to swap back to the view; absent, the form pops as it always has (P23).

Implementation

final VoidCallback? onSaved;