AlhPdfViewCreationParams constructor

const AlhPdfViewCreationParams({
  1. required String? filePath,
  2. required Uint8List? bytes,
  3. required FitPolicy fitPolicy,
  4. required bool fitEachPage,
  5. required bool enableSwipe,
  6. required bool swipeHorizontal,
  7. required bool nightMode,
  8. required bool autoSpacing,
  9. required bool pageFling,
  10. required bool pageSnap,
  11. required int defaultPage,
  12. required double defaultZoomFactor,
  13. required Color backgroundColor,
  14. required String password,
  15. required bool enableDoubleTap,
  16. required double minZoom,
  17. required double maxZoom,
  18. required bool enableDefaultScrollHandle,
})

Implementation

const AlhPdfViewCreationParams({
  required this.filePath,
  required this.bytes,
  required this.fitPolicy,
  required this.fitEachPage,
  required this.enableSwipe,
  required this.swipeHorizontal,
  required this.nightMode,
  required this.autoSpacing,
  required this.pageFling,
  required this.pageSnap,
  required this.defaultPage,
  required this.defaultZoomFactor,
  required this.backgroundColor,
  required this.password,
  required this.enableDoubleTap,
  required this.minZoom,
  required this.maxZoom,
  required this.enableDefaultScrollHandle,
});