Skip to content
This repository was archived by the owner on Jun 25, 2019. It is now read-only.
This repository was archived by the owner on Jun 25, 2019. It is now read-only.

ShowModalBottomSheet MapView.onTouchAnnotation possible? #87

Open

Description

@seanmavley

I'm trying to show a ShowModalBottomSheet.

I seem to be doing everything right. Is it that how the MapView works is what I don't understand or I'm missing something?

The snippet of code here: https://stackoverflow.com/q/51370795/1757321

Basically, I'm calling a showModalBottomSheet when the onTouchAnnotation happens, however, no error, no console log, nothing.

I feel the modal shows, except behind the MapView widget, right?

Activity

  1. morad00 commented on Jul 29, 2018

    @morad00

    Have you reached a solution for that ?

  2. seanmavley commented on Jul 29, 2018

    @seanmavley
    Author

    @morad00 The trick is, the MapView.show() brings up more like an entire overlay screen, thus, what I realized was, the showModalBottomSheet shows, except behind the mapview.

    And I don't know of any kinda z-index in Flutter. And even if any, the z-index would apply to Widgets. I'm not sure how Widget-ty the MapView.show() call is. It just 'Hijacks' the entire app screen.

    I went through the source code to figure out how the show() works. Haven't wrapped my head around yet.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions