custom_pdf_converter 3.10.4 copy "custom_pdf_converter: ^3.10.4" to clipboard
custom_pdf_converter: ^3.10.4 copied to clipboard

A pdf producer for Dart. It can create pdf files for both web or flutter.

example/main.dart

import 'dart:io';

import 'package:custom_pdf_converter/widgets.dart' as pw;

Future<void> main() async {
  final pdf = pw.Document();

  pdf.addPage(
    pw.Page(
      build: (pw.Context context) => pw.Center(
        child: pw.Text('Hello World!'),
      ),
    ),
  );

  final file = File('example.pdf');
  await file.writeAsBytes(await pdf.save());
}
4
likes
140
pub points
61%
popularity
screenshot

Publisher

unverified uploader

A pdf producer for Dart. It can create pdf files for both web or flutter.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

archive, barcode, bidi, crypto, image, meta, path_parsing, vector_math, xml

More

Packages that depend on custom_pdf_converter