Showing
2 changed files
with
1 additions
and
2 deletions
@@ -50,7 +50,7 @@ for documentation. | @@ -50,7 +50,7 @@ for documentation. | ||
50 | 6. For Windows and Linux, you can force the pdfium version and architecture | 50 | 6. For Windows and Linux, you can force the pdfium version and architecture |
51 | on your main `CMakeLists.txt` with: | 51 | on your main `CMakeLists.txt` with: |
52 | 52 | ||
53 | - ```dart | 53 | + ```python |
54 | set(PDFIUM_VERSION "4929" CACHE STRING "" FORCE) | 54 | set(PDFIUM_VERSION "4929" CACHE STRING "" FORCE) |
55 | set(PDFIUM_ARCH "x64" CACHE STRING "" FORCE) | 55 | set(PDFIUM_ARCH "x64" CACHE STRING "" FORCE) |
56 | ``` | 56 | ``` |
@@ -54,7 +54,6 @@ void buildFile(String src, String dest, bool flutter) { | @@ -54,7 +54,6 @@ void buildFile(String src, String dest, bool flutter) { | ||
54 | st.writeln('import \'dart:typed_data\';'); | 54 | st.writeln('import \'dart:typed_data\';'); |
55 | if (flutter) { | 55 | if (flutter) { |
56 | st.writeln('import \'package:flutter/services.dart\' show rootBundle;'); | 56 | st.writeln('import \'package:flutter/services.dart\' show rootBundle;'); |
57 | - st.writeln('import \'package:flutter/widgets.dart\' show AssetImage;'); | ||
58 | st.writeln('import \'package:path_provider/path_provider.dart\';'); | 57 | st.writeln('import \'package:path_provider/path_provider.dart\';'); |
59 | } | 58 | } |
60 | st.writeln('import \'package:printing/printing.dart\';'); | 59 | st.writeln('import \'package:printing/printing.dart\';'); |
-
Please register or login to post a comment