image2pdf_flutter 1.0.0+9 copy "image2pdf_flutter: ^1.0.0+9" to clipboard
image2pdf_flutter: ^1.0.0+9 copied to clipboard

This library converts images to a PDF, a PDF creation library that converter turns any image file into a custom PDF file.

PDF creation library for dart/flutter #

This library is divided into two parts:

  • a low-level PDF creation library that takes care of the PDF bits generation.
  • a Widgets system similar to Flutter's, for easy high-level PDF creation.
Android iOS
Support SDK 21+ 10.0+

image2pdf Implementation Guide #

Features #

Use this plugin in your Flutter app to:

  • Create Pfd with multi pages by selecting images.
  • Share created PDF.

Getting started #

This plugin relies on the flutter core.

Usage #

To use the plugin you just need to add image2pdf-flutter: ^1.0.0+9 into your pubspec.yaml file and run pub get.

Add following into your package's pubspec.yaml (and run an implicit dart pub get): #

image2pdf-flutter: ^1.0.0+9

Multi Step Form UI Sample #

Example #

import 'dart:async';
import 'package:image2pdf_flutter/image_to_pdf.dart';

Future<void> main() async {
   WidgetsFlutterBinding.ensureInitialized();
   await ImageToPdfMain.initValue();
   Configuration.instance!.editDocumentNameTextStyle = Configuration .instance!.editDocumentNameTextStyle!.copyWith(fontSize: 14, color: Colors.black);
   Configuration.instance!.cameraIconBgColor = Colors.black; // Configuration.instance!.cameraIcon =
   Icon(Icons.add, size: 80);
   runApp(ImageToPdfMain(pdfPathCallBack: (String pdfPath) {}));
}

Changelog #

All notable changes to this project will be documented in this file.

Issues #

To report your issues, submit them directly in the Issues section.

License #

this file.

8
likes
80
pub points
13%
popularity

Publisher

verified publisherdexbytes.com

This library converts images to a PDF, a PDF creation library that converter turns any image file into a custom PDF file.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

camera, flutter, image_cropper, image_picker, intl, path_drawing, path_provider, pdf, share_plus, shared_preferences

More

Packages that depend on image2pdf_flutter