pdf_ce 3.13.1 copy "pdf_ce: ^3.13.1" to clipboard
pdf_ce: ^3.13.1 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:pdf_ce/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());
}
0
likes
160
points
109
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#pdf #printer #print #printing #report

License

Apache-2.0 (license)

Dependencies

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

More

Packages that depend on pdf_ce