printGrid method
Render printable pages.
Implementation
Future<PrintResponse> printGrid({
PrintOrientation orientation = PrintOrientation.PRINT_PORTRAIT,
int marginLeft = 0,
int marginTop = 0,
int marginRight = 0,
int marginBottom = 0,
String header = '',
String footer = '',
bool showPageNumbers = true,
}) async {
return VolvoxGridService.Print(PrintRequest()
..gridId = _gridId
..orientation = orientation
..marginLeft = marginLeft
..marginTop = marginTop
..marginRight = marginRight
..marginBottom = marginBottom
..header = header
..footer = footer
..showPageNumbers = showPageNumbers);
}