pdfx 2.8.0 copy "pdfx: ^2.8.0" to clipboard
pdfx: ^2.8.0 copied to clipboard

Flutter plugin to render & show PDF pages as images on Web, MacOS, Windows, Android and iOS.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:pdfx_example/pinch.dart';
import 'package:pdfx_example/simple.dart';

import 'package:universal_platform/universal_platform.dart';

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

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) => MaterialApp(
        debugShowCheckedModeBanner: false,
        theme: ThemeData(primaryColor: Colors.white),
        darkTheme: ThemeData.dark(),
        home: UniversalPlatform.isWindows
            ? const SimplePage()
            : const PinchPage(),
      );
}
441
likes
140
points
346k
downloads

Publisher

verified publisherserge.software

Weekly Downloads

Flutter plugin to render & show PDF pages as images on Web, MacOS, Windows, Android and iOS.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

device_info_plus, extension, flutter, flutter_web_plugins, meta, photo_view, plugin_platform_interface, synchronized, universal_platform, uuid, vector_math, web

More

Packages that depend on pdfx