web_label_to_image 0.0.6 copy "web_label_to_image: ^0.0.6" to clipboard
web_label_to_image: ^0.0.6 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.

example/lib/main.dart

import 'package:flutter/material.dart';



import 'package:web_label_to_image/web_label_to_image.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  String _platformVersion = 'Unknown';
  final _webLabelToImagePlugin = WebLabelToImage();

  @override
  void initState() {
    super.initState();

  }


  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
       
      ),
    );
  }
}
0
likes
0
points
342
downloads

Publisher

unverified uploader

Weekly Downloads

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.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dio, easy_logger, flutter, image, path, path_provider, plugin_platform_interface, puppeteer

More

Packages that depend on web_label_to_image

Packages that implement web_label_to_image