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