m

    ms

    1 year ago
    Is there any manager or LocalProvider to control ModalBottomSheet? I have a
    HorizontalPager
    which has 3 pages, if I use a ModalBottomSheet in 3rd page & show it, I can still scroll to other pages even though the BottomSheet is visible, which is not the behaviour when using layouts
    a

    alorma

    1 year ago
    Maybe you need to use BottomSheetScaffold on page 3. Modal bottom sheets are similar to AlertDialogs, they are "above" any other content and need to be dismissed to interact with it
    m

    ms

    1 year ago
    @alorma that is why I'm using ModalBottomSheet. I want my content to be on top of everything
    a

    alorma

    1 year ago
    So, it will need to be dismissed bsfore interact with pager
    m

    ms

    1 year ago
    Yeah
    @alorma but when scrolling to different page, the BottomSheet also goes with it, as a part of that page