Created
September 7, 2018 05:40
-
-
Save felangel/22b60cab44f18e187299e93ac9bb2c72 to your computer and use it in GitHub Desktop.
[platform_views] TextViewPlugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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