Skip to content

Instantly share code, notes, and snippets.

@felangel
Created September 7, 2018 05:40
Show Gist options
  • Save felangel/22b60cab44f18e187299e93ac9bb2c72 to your computer and use it in GitHub Desktop.
Save felangel/22b60cab44f18e187299e93ac9bb2c72 to your computer and use it in GitHub Desktop.
[platform_views] TextViewPlugin
package angelov.felix.textview;
import io.flutter.plugin.common.PluginRegistry.Registrar;
public class TextViewPlugin {
public static void registerWith(Registrar registrar) {
registrar
.platformViewRegistry()
.registerViewFactory(
"plugins.felix.angelov/textview", new TextViewFactory(registrar.messenger()));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment