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

Why is my showCupertinoModalBottomSheet not zooming out? #363

Closed
Tristannos opened this issue Aug 17, 2023 · 2 comments
Closed

Why is my showCupertinoModalBottomSheet not zooming out? #363

Tristannos opened this issue Aug 17, 2023 · 2 comments

Comments

@Tristannos
Copy link

Normally in IOS you have that zoom out effect when the bottom sheet is opend.

For some reason i cannot find the reason why it is not working for me.

SCR-20230817-j0t
SCR-20230817-j27

@SoMWbRa
Copy link

SoMWbRa commented Aug 21, 2023

return CupertinoScaffold(
      body: Builder(builder: (cupertinoScaffoldContext) {
        return Scaffold(
          body: ... (
            // somewhere 
            onPressed: () {
                 CupertinoScaffold.showCupertinoModalBottomSheet(
                    context: cupertinoScaffoldContext,
                    builder: (context) => const MyOtherScreen(),
                 );
              },
          ),
        );
      }),
    );

@Tristannos
Copy link
Author

Yes thankyou!!!

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

2 participants