Skip to content

Commit

Permalink
Merge pull request lohanidamodar#43 from lohanidamodar/develop
Browse files Browse the repository at this point in the history
2.0.0 release
  • Loading branch information
lohanidamodar authored May 24, 2021
2 parents 165dfe1 + 64a76de commit 2793178
Show file tree
Hide file tree
Showing 10 changed files with 309 additions and 227 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Changelog
# 2.0.0
* Null safety upgrade
* Fixed some issues
* new `numberPickerConfirmWidget`

## 1.2.2
* fix error with single page pdf
Expand Down
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
Loading

0 comments on commit 2793178

Please sign in to comment.