NicePrintPreview constructor
const
NicePrintPreview({
- Key? key,
- required Widget content,
- String? title,
- String? subtitle,
- void onPrint()?,
- void onCancel()?,
- NicePageOrientation orientation = NicePageOrientation.portrait,
- NicePageSize pageSize = NicePageSize.a4,
- EdgeInsets? margins,
- bool showHeader = true,
- bool showPageNumbers = true,
Implementation
const NicePrintPreview({
super.key,
required this.content,
this.title,
this.subtitle,
this.onPrint,
this.onCancel,
this.orientation = NicePageOrientation.portrait,
this.pageSize = NicePageSize.a4,
this.margins,
this.showHeader = true,
this.showFooter = true,
this.showPageNumbers = true,
});