PdfViewerScrollThumb constructor

const PdfViewerScrollThumb({
  1. required PdfViewerController controller,
  2. ScrollbarOrientation orientation = ScrollbarOrientation.right,
  3. Size? thumbSize,
  4. double margin = 2,
  5. Widget? thumbBuilder(
    1. BuildContext context,
    2. Size thumbSize,
    3. int? pageNumber,
    4. PdfViewerController controller,
    )?,
  6. Key? key,
})

Implementation

const PdfViewerScrollThumb({
  required this.controller,
  this.orientation = ScrollbarOrientation.right,
  this.thumbSize,
  this.margin = 2,
  this.thumbBuilder,
  super.key,
});