save correct color to db
use different pointer for highlighter
This commit is contained in:
1 parent
9be2c69ff5
commit
4d52868854
4 files changed
+51
-23
No files matched your search
@@ -47,9 +47,9 @@ void exportPDF(List<Stroke> strokes, String name) async {
|
||||
|
||||
const PdfPageFormat a4 = PdfPageFormat(_a4width, _a4height);
|
||||
|
||||
pdf.addPage(pw.MultiPage(
|
||||
pdf.addPage(pw.Page(
|
||||
pageFormat: a4,
|
||||
build: (context) => [_StrokePDFPaint(strokes)],
|
||||
build: (context) => _StrokePDFPaint(strokes),
|
||||
));
|
||||
|
||||
final path = await getSavePath();
|
||||
|
||||
Reference in new issue
Block a user