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

View PDF, Word, Excel and PowerPoint documents fully offline. Renders on the device with bundled open-source engines — no network, no server, no cloud.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'design/app_theme.dart';
import 'screens/library_screen.dart';

void main() => runApp(const ExampleApp());

/// Demonstrates `offline_document_viewer` inside a small document library.
///
/// The package itself ships no chrome — this app supplies the shell, the
/// search field, the outline sheet and the error copy, which is exactly the
/// division of labour the package is designed for.
class ExampleApp extends StatelessWidget {
  const ExampleApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Offline Document Viewer',
      debugShowCheckedModeBanner: false,
      theme: AppTheme.light(),
      darkTheme: AppTheme.dark(),
      themeMode: ThemeMode.system,
      home: const LibraryScreen(),
    );
  }
}
4
likes
150
points
68
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

View PDF, Word, Excel and PowerPoint documents fully offline. Renders on the device with bundled open-source engines — no network, no server, no cloud.

Repository (GitHub)
View/report issues

Topics

#document #pdf #office #viewer #offline

License

unknown (license)

Dependencies

crypto, flutter, flutter_inappwebview, path_provider, pdfrx

More

Packages that depend on offline_document_viewer