Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持外部传入 NavigatorKeyBuilder #14

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

KADO-C
Copy link

@KADO-C KADO-C commented Oct 11, 2021

支持外部传入 NavigatorKeyBuilder
用于外部获取 FaradayNavigatorKey 使用 FaradayNavigator 跳转路有页面,比如 GetX 使用 Get.toNamed

@KevinGong2013
Copy link
Member

不能直接忽略掉FaradayArguments中的key,可以考虑将FaradayArguments中的key更新为一个变量。

@KADO-C
Copy link
Author

KADO-C commented Oct 18, 2021

修改了一下思路,通过外部传入 NavigatorKeyCallback,把 FaradayNavigatorKey 回调到外部,使外部支持通过 FaradayNavigatorKey 获取 FaradayNavigator,比如,把 FaradayNavigatorKey 添加到 Get.keys 管理,再通过 GetX Api 使用。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants