cached_network_pdf_view 0.0.1 copy "cached_network_pdf_view: ^0.0.1" to clipboard
cached_network_pdf_view: ^0.0.1 copied to clipboard

A Flutter widget to view and cache PDFs from network URLs using flutter_cache_manager and flutter_pdfview. Supports offline access, gestures, and custom indicators.

example/lib/main.dart

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

void main() {
  runApp(const MainApp());
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: Text("CachedNetworkPdfViewer Example")),
        body: CachedNetworkPdfViewer(
          url:
              'https://www.adobe.com/support/products/enterprise/knowledgecenter/media/c4611_sample_explain.pdf',
        ),
      ),
    );
  }
}
0
likes
160
points
59
downloads

Publisher

verified publishergtirkha.com

Weekly Downloads

A Flutter widget to view and cache PDFs from network URLs using flutter_cache_manager and flutter_pdfview. Supports offline access, gestures, and custom indicators.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_cache_manager, flutter_pdfview

More

Packages that depend on cached_network_pdf_view