Skip to content

Kristijan505/widget_to_image

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

ByteData byteData = await WidgetToImage.widgetToImage(Container(
    width: 100,
    height: 100,
    color: Colors.blue
));
OR
ByteData byteData = 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!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 100.0%