polarby / render

A package to render any native static and moving flutter widgets to exportable formats
https://pub.dev/packages/render
MIT License
49 stars 26 forks source link

Server side rendering #7

Closed arsen closed 1 year ago

arsen commented 1 year ago

Hello, is there a way to render the widget to an image on the server side, maybe with headless flutter?

polarby commented 1 year ago

I am not quite sure what your issue is yet, but we will figure it out.

Just so I know if I understand you correctly, would the following process display your request/problem?

  1. Capturing on the device side
  2. Writing frames on the device side to a local directory
  3. Uploading those image frames files to the server
  4. Server processing of files to video/export format with FFmpeg?

Or, are you requesting support for the web, if so, please refer to this issue, so we can find a solution together. I am available for collaboration if you are invested in extending the Renderplugin for the web.

Otherwise please enlighten me with more details, so I can help you :) PS. I am unfamiliar with headless flutter so far.

polarby commented 1 year ago

I am closing this as a duplicate of #6 . If you think I misunderstood you, please make sure to clarify your issue.