Skip to content

SyncfusionExamples/load-a-pdf-from-memory-or-bytes-in-flutter-pdf-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Load a PDF document from memory or bytes in Flutter PDF Viewer

The SfPdfViewer.memory creates a widget that displays the PDF document obtained from the Uint8List. The following code example explains the same.

@override
Widget build(BuildContext context) {
  return Scaffold(
      body: SfPdfViewer.memory(
              bytes));
}

System requirements

https://help.syncfusion.com/flutter/system-requirements

Clone the repository

  • To clone the sample repository locally, open the command prompt in the desired location and execute the following command.
git clone https://github.com/SyncfusionExamples/load-a-pdf-from-memory-or-bytes-in-flutter-pdf-viewer.git
  • Navigate to the project directory:
cd load-a-pdf-from-memory-or-bytes-in-flutter-pdf-viewer

To learn more about SfPdfViewer widget and its features, refer to this documentation

About

This repository contains the sample to load a PDF document from bytes in Flutter PDF Viewer.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •