web_label_to_image 1.1.1
web_label_to_image: ^1.1.1 copied to clipboard
A Flutter plugin to capture a web URL as a PNG image sized for thermal receipt printers (e.g., 384/576 dots) using platform WebView rendering.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add web_label_to_imageThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
web_label_to_image: ^1.1.1Alternatively, 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:web_label_to_image/web_label_to_image.dart';