pdf_compressor_pro 0.1.2
pdf_compressor_pro: ^0.1.2 copied to clipboard
A simple cross-platform (iOS/Android) PDF compressor for Flutter.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add pdf_compressor_pro
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
pdf_compressor_pro: ^0.1.2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:pdf_compressor_pro/pdf_compressor.dart';
import 'package:pdf_compressor_pro/pdf_compressor_method_channel.dart';
import 'package:pdf_compressor_pro/pdf_compressor_platform_interface.dart';