Skip to content

Flutter support? #45

Answered by domchen
liudonghua123 asked this question in Ideas
Discussion options

You must be logged in to vote

We haven't implemented the platform interfaces for Flutter yet. But it is actually not difficult to render a PAG file in Flutter. Many apps have done it by themself already through the 'External Texture' of Flutter. What you need is to get an OpenGL texture from Flutter, and then make a PAGSurface from this texture, finally, use a PAGPlayer to render a PAGFile into the PAGSurface. You can give it a try. We also may upload a demo to demonstrate that in recent days.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by domchen
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants