flutter_cached_pdfview 0.1.0 copy "flutter_cached_pdfview: ^0.1.0" to clipboard
flutter_cached_pdfview: ^0.1.0 copied to clipboard

outdated

A package to show pdf file, the first time will download the file and cache it, other time will get from the cache without the internet.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_cached_pdfview/flutter_cached_pdfview.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('flutter_cached_pdfview Demo'),
      ),
      body: CachedPDFView(url: 'http://africau.edu/images/default/sample.pdf'),
    );
  }
}
432
likes
0
pub points
98%
popularity

Publisher

verified publisherbnsaed.com

A package to show pdf file, the first time will download the file and cache it, other time will get from the cache without the internet.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, flutter_cache_manager, flutter_pdfview

More

Packages that depend on flutter_cached_pdfview