UPdfPageView constructor
const
UPdfPageView({
- required UPdfController controller,
- required int pageIndex,
- required double displayScale,
- UDocColorMode colorMode = UDocColorMode.normal,
- List<
UDocSearchHit> highlights = const <UDocSearchHit>[], - UDocSearchHit? activeHit,
- List<
Rect> selectionRects = const <Rect>[], - bool showHandles = true,
- void onTap(
- Offset point
- void onLongPress(
- Offset point
- void onDragSelect(
- Offset point
- void onSelectStart(
- Offset point
- void onSelectUpdate(
- Offset point
- VoidCallback? onSelectEnd,
- void onHandleDrag()?,
- Key? key,
Implementation
const UPdfPageView({
required this.controller,
required this.pageIndex,
required this.displayScale,
this.colorMode = UDocColorMode.normal,
this.highlights = const <UDocSearchHit>[],
this.activeHit,
this.selectionRects = const <Rect>[],
this.showHandles = true,
this.onTap,
this.onLongPress,
this.onDragSelect,
this.onSelectStart,
this.onSelectUpdate,
this.onSelectEnd,
this.onHandleDrag,
super.key,
});