LiPdfViewerLabels constructor

const LiPdfViewerLabels({
  1. String loading = 'Loading PDF...',
  2. String emptyState = 'Select a PDF to preview.',
  3. String fitWidth = 'Fit width',
  4. String rotate = 'Rotate',
  5. String download = 'Download',
  6. String print = 'Print',
  7. String goToPage = 'Go to page',
  8. String goToPageTitle = 'Go to page',
  9. String moreActions = 'More PDF actions',
  10. String mobileActions = 'PDF actions',
  11. String fullscreen = 'Fullscreen',
  12. String exitFullscreen = 'Exit fullscreen',
  13. String enablePan = 'Enable pan mode',
  14. String disablePan = 'Disable pan mode',
  15. String previousPage = 'Previous page',
  16. String nextPage = 'Next page',
  17. String page = 'Page',
  18. String zoomOut = 'Zoom out',
  19. String zoomIn = 'Zoom in',
  20. String cancel = 'Cancel',
  21. String confirm = 'OK',
  22. String errorPrefix = 'Unable to load PDF:',
  23. String selectZoomTitle = 'Select zoom',
  24. String pageRangeHintPrefix = 'Enter a page between',
  25. String pageRangeHintMiddle = 'and',
})

Implementation

const LiPdfViewerLabels({
  this.loading = 'Loading PDF...',
  this.emptyState = 'Select a PDF to preview.',
  this.fitWidth = 'Fit width',
  this.rotate = 'Rotate',
  this.download = 'Download',
  this.print = 'Print',
  this.goToPage = 'Go to page',
  this.goToPageTitle = 'Go to page',
  this.moreActions = 'More PDF actions',
  this.mobileActions = 'PDF actions',
  this.fullscreen = 'Fullscreen',
  this.exitFullscreen = 'Exit fullscreen',
  this.enablePan = 'Enable pan mode',
  this.disablePan = 'Disable pan mode',
  this.previousPage = 'Previous page',
  this.nextPage = 'Next page',
  this.page = 'Page',
  this.zoomOut = 'Zoom out',
  this.zoomIn = 'Zoom in',
  this.cancel = 'Cancel',
  this.confirm = 'OK',
  this.errorPrefix = 'Unable to load PDF:',
  this.selectZoomTitle = 'Select zoom',
  this.pageRangeHintPrefix = 'Enter a page between',
  this.pageRangeHintMiddle = 'and',
});