Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #15 from apgapg/dev/update-readme
Browse files Browse the repository at this point in the history
Fix pre-built code in README.md
  • Loading branch information
lohanidamodar authored May 17, 2021
2 parents 903e196 + 9d47584 commit 2a88b44
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@ PDFPage pageOne = await doc.get(page: _number);
#### Pre-built viewer
Use the pre-built PDF Viewer
```
@override
@override
Widget build(BuildContext context) {
Scaffold(
appBar: AppBar(
title: Text('Example'),
),
body: Center(
child: _isLoading
? Center(child: CircularProgressIndicator())
: PDFViewer(document: document)),
return Scaffold(
appBar: AppBar(
title: Text('Example'),
),
body: Center(
child: _isLoading
? Center(child: CircularProgressIndicator())
: PDFViewer(document: document)),
);
}
```
Expand Down

0 comments on commit 2a88b44

Please sign in to comment.