We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83ed321 commit e113179Copy full SHA for e113179
lib/src/viewer.dart
@@ -163,7 +163,9 @@ class _PDFViewerState extends State<PDFViewer> {
163
body: Stack(
164
children: <Widget>[
165
PageView.builder(
166
- physics: _swipeEnabled && widget.enableSwipeNavigation ? null : NeverScrollableScrollPhysics(),
+ physics: _swipeEnabled && widget.enableSwipeNavigation
167
+ ? null
168
+ : NeverScrollableScrollPhysics(),
169
onPageChanged: (page) {
170
setState(() {
171
_pageNumber = page + 1;
0 commit comments