sil_pdf_flutter 2.0.0-nullsafety sil_pdf_flutter: ^2.0.0-nullsafety copied to clipboard
Displaying PDF from Network, File and assets easily like we display Image in Flutter Widget.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add sil_pdf_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
sil_pdf_flutter: ^2.0.0-nullsafety
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:sil_pdf_flutter/sil_pdf_flutter.dart';