syncfusion_pdfviewer_platform_interface 26.2.12 syncfusion_pdfviewer_platform_interface: ^26.2.12 copied to clipboard
A common platform interface for the Flutter PDF Viewer library that lets you view the PDF documents seamlessly and efficiently.
import 'package:flutter/material.dart';
void main() {
runApp(MaterialApp(
title: 'Syncfusion PDF Viewer Demo for Web',
theme: ThemeData(
useMaterial3: false,
),
home: const HomePage(),
));
}
/// Represents Homepage for Navigation
class HomePage extends StatefulWidget {
const HomePage({Key? key}) : super(key: key);
@override
_HomePage createState() => _HomePage();
}
class _HomePage extends State<HomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Syncfusion Flutter PDF Viewer'),
),
body: const Text('PDF Viewer'),
);
}
}