CPDFReaderSliderBar constructor

const CPDFReaderSliderBar({
  1. Key? key,
  2. required int currentPage,
  3. required int pageCount,
  4. required void onJumpToPage(
    1. int page,
    2. bool isFinal
    ),
  5. double thumbHeight = 40.0,
  6. bool showPageIndicator = true,
  7. Widget thumbBuilder(
    1. bool isDragging
    )?,
  8. Axis axis = Axis.vertical,
  9. Color thumbColor = Colors.blue,
})

Implementation

const CPDFReaderSliderBar({
  super.key,
  required this.currentPage,
  required this.pageCount,
  required this.onJumpToPage,
  this.thumbHeight = 40.0,
  this.showPageIndicator = true,
  this.thumbBuilder,
  this.axis = Axis.vertical,
  this.thumbColor = Colors.blue
});