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

How do I use Get.toNamed('/nextpage'); in conjunction with animations for OpenContainer use? #3257

Open
BrotherPeng opened this issue Nov 16, 2024 · 0 comments

Comments

@BrotherPeng
Copy link

OpenContainer(
openBuilder: (context, closedContainer) {
return MyPage(); _// _
},
openColor: Theme.of(context).cardColor,
onClosed: (success) {},
closedShape: const RoundedRectangleBorder(
borderRadius: BorderRadius.all(Radius.circular(4)),
),
closedColor: Theme.of(context).colorScheme.primary,
closedElevation: 2,
closedBuilder: (context, openContainer) {
return InkWell(

                      onTap: () {
                        openContainer();
                         // Get.toNamed('nextpage?a=1&b=2');
                      },

GetPage(
name: _Paths.MYPAGE,
page: () => const MyPage(),
binding: MyPageBinding(),
),

OpenContainer in openBuilder returned MyPage, openContainer(); open this page, I need to use Get to manage page routing jumps as well as url parameters, please help me, bind get

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

No branches or pull requests

1 participant