widget_snap 1.2.0 copy "widget_snap: ^1.2.0" to clipboard
widget_snap: ^1.2.0 copied to clipboard

Export any widget to PNG — rendered offscreen, even content larger than the screen. Pure Flutter render pipeline, zero dependencies, all platforms.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add widget_snap

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  widget_snap: ^1.2.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:widget_snap/widget_snap.dart';
0
likes
160
points
13
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Export any widget to PNG — rendered offscreen, even content larger than the screen. Pure Flutter render pipeline, zero dependencies, all platforms.

Repository (GitHub)
View/report issues

Topics

#screenshot #widget-to-image #png #export #capture

License

MIT (license)

Dependencies

flutter

More

Packages that depend on widget_snap