PageView constructor
- Key? key,
- required PdfDocument document,
- required int pageIndex,
- RenderOptions options = const RenderOptions(),
- String? semanticLabel,
Creates a PageView.
document and pageIndex are required. pageIndex must be a valid
page index for document; an out-of-range value causes a RangeError
that is displayed as an error message.
Implementation
const PageView({
super.key,
required this.document,
required this.pageIndex,
this.options = const RenderOptions(),
this.semanticLabel,
});