dust blog
Return a Result From a Route

Open a screen and wait for one result.
The support route declares result: bool.
Its generated push() returns Future<bool?>.
The support screen tracks whether a message was sent.
The back action returns that value with context.navigator.pop.
The caller shows confirmation only when the result is true.
Docs used: typed route results and the shopping app support flow.
#Dust #Routing #Flutter #Dart
