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

Conversation

@tvolkert
Copy link
Contributor

Sometimes, plugin instances need access to the FlutterView.
They can currently cast the messenger(), but that's fragile.
This adds API support for getting the view from the registry.

Sometimes, plugin instances need access to the `FlutterView`.
They can currently cast the `messenger()`, but that's fragile.
This adds API support for getting the view from the registry.
@tvolkert tvolkert changed the title Add PluginRegistry.Registrar#activity() Add PluginRegistry.Registrar#view() Jul 18, 2017
@tvolkert tvolkert merged commit 488584f into flutter:master Jul 19, 2017
@tvolkert tvolkert deleted the view branch July 19, 2017 02:16
Copy link
Contributor

@mravn-google mravn-google left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants