flutter_native_html_to_pdf 2.0.2
flutter_native_html_to_pdf: ^2.0.2 copied to clipboard
A pure Dart package to convert HTML string to PDF file. Works on all platforms without native code.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flutter_native_html_to_pdfWith Flutter:
$ flutter pub add flutter_native_html_to_pdfThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
flutter_native_html_to_pdf: ^2.0.2Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_native_html_to_pdf/flutter_native_html_to_pdf.dart';