Skip to content

Sheet may be displayed on the wrong window (or not displayed) #4

Closed
@stuartmorgan-g

Description

@stuartmorgan-g

This code is not the right way to get the window containing a Flutter view in a plugin; there is no guarantee that a) there is a key window, or b) that the key window is the window with the Flutter view.

Instead, plugins should get the window of the view returned by the plugin registrar. See file_selector for an example of reliably getting the correct window.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions