widget_to_image 1.0.1 copy "widget_to_image: ^1.0.1" to clipboard
widget_to_image: ^1.0.1 copied to clipboard

outdated

A simple package to convert any of your widgets into an image.

Widget To Image #

pub package

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';

Use the package #

Image image = await WidgetToImage.widgetToImage(Container(
    width: 100,
    height: 100,
    color: Colors.blue
));
OR
Image image = await WidgetToImage.repaintBoundaryToImage(key);

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!

34
likes
0
pub points
86%
popularity

Publisher

verified publishernicolas-bruckert.com

A simple package to convert any of your widgets into an image.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on widget_to_image