flame_component_screenshot
A Flutter + Flame utility package to render any Flame PositionComponent to an Image, PNG bytes, or local file path.
Features
- Render Flame components offscreen
- Capture as
ui.Image,Uint8List, FlutterImage.memory, or PNG to disk - Custom background color, pixel ratio, and Flutter image options
Installation
dependencies:
flame_component_screenshot: ^1.0.0
Support
If you like this package, consider buying me a coffee ☕️!