pdf_flutter 1.0.0 copy "pdf_flutter: ^1.0.0" to clipboard
pdf_flutter: ^1.0.0 copied to clipboard

outdated

PDF loading Widget for Flutter

pdf_flutter #

pub package

1. Add pdf_flutteron pubspec.yml

dependencies:
  pdf_flutter: ^version

2. On iOS enable PDF preview like this:

Add this on ios/Runner/info.plist:

    <key>io.flutter.embedded_views_preview</key>
    <true/>

3. Start Using

    PDF.network(
            'https://raw.githubusercontent.com/FlutterInThai/Dart-for-Flutter-Sheet-cheet/master/Dart-for-Flutter-Cheat-Sheet.pdf',
            height: 500,
            width: 300,
            )

Demo #

demo