widget_to_image

Creator: coderz1093

Last updated:

Add to Cart

Description:

widget to image

Widget To Image #

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

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.