jamesblasco / modal_bottom_sheet

Flutter | Create advanced modal bottom sheets. Material, Cupertino or your own style
https://pub.dev/packages/modal_bottom_sheet
MIT License
1.86k stars 470 forks source link

Why is my showCupertinoModalBottomSheet not zooming out? #363

Closed Tristannos closed 1 year ago

Tristannos commented 1 year ago

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 commented 1 year ago
return CupertinoScaffold(
      body: Builder(builder: (cupertinoScaffoldContext) {
        return Scaffold(
          body: ... (
            // somewhere 
            onPressed: () {
                 CupertinoScaffold.showCupertinoModalBottomSheet(
                    context: cupertinoScaffoldContext,
                    builder: (context) => const MyOtherScreen(),
                 );
              },
          ),
        );
      }),
    );
Tristannos commented 1 year ago

Yes thankyou!!!