A simple package to convert any of your widgets into an image
import 'package:widget_to_image/widget_to_image.dart';
ByteData byteData = await WidgetToImage.widgetToImage(Container(
width: 100,
height: 100,
color: Colors.blue
));
ByteData byteData = await WidgetToImage.repaintBoundaryToImage(key);
Find the example wiring in the widget_to_image example application.
See the widget_to_image.dart for more details.
Please file issues to send feedback or report a bug. Thank you!