felangel / flow_builder

Flutter Flows made easy! A Flutter package which simplifies navigation flows with a flexible, declarative API.
https://pub.dev/packages/flow_builder
MIT License
395 stars 65 forks source link

Documentation on screen arguments #106

Open danallen88 opened 1 year ago

danallen88 commented 1 year ago

This is not a feature request but a documentation request - it would be very helpful to have documentation or examples demonstrating passing data from one page to the next when FlowBuilder is used as the navigation scheme between those pages.

With the Navigator 1.0 API in Flutter were was an optional argument for passing an "arguments" Object to a named route: https://api.flutter.dev/flutter/widgets/Navigator/pushNamed.html.

Ideally the same mechanism would be used if deep linking to a page - if the page requires some minimum set of arguments, what is the best way to inject them using FlowBuilder?

Thank you for your consideration!

SAGARSURI commented 12 months ago

I am still not able to figure out a solution for this. Did you come up with a solution? @danallen88