flutter_html_to_pdf
flutter_html_to_pdf copied to clipboard
Use @page
Hi,
is there a way to use @page
to set the page margin and add a page counter? Something like this:
@page {
size: A4;
margin: 25mm 25mm 25mm 25mm;
@bottom-right {
content: counter(page) " of " counter(pages);
}
}
If it's not currently supported it would be a great improvement, I think.
I'm waitig for this feature too. Maybe add support for Paged.JS framework too.
Yeah, the problem is that we're using default printer api provided by the system itself. I'm not sure if we can make with this.