PdfPageSize.custom constructor
Create a custom page size
width and height are in points (72 points = 1 inch)
Implementation
factory PdfPageSize.custom({
required double width,
required double height,
String? name,
}) {
return PdfPageSize._(
width: width,
height: height,
name: name ?? 'Custom',
);
}