-
-
Notifications
You must be signed in to change notification settings - Fork 260
Description
I created a pdf with PDFBox. When I include more than one PDTextField element, the first one that I added doesn't render. I checked the document in Adobe, and all PDTextFields are rendered properly. I am using flutter_pdf_view 1.4.0
Flutter Doctor:
[!] Flutter (Channel [user-branch], 3.22.3, on Microsoft Windows [Version 10.0.22621.1778], locale en-US)
! Flutter version 3.22.3 on channel [user-branch] at C:\Users\ridzuan.yahya\Documents\Software\flutter_windows_3.3.3-stable\flutter
Currently on an unknown channel. Run flutter channel to switch to an official channel.
If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
! Upstream repository unknown source is not a standard remote.
Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[√] Chrome - develop for the web
[!] Visual Studio - develop Windows apps (Visual Studio Build Tools 2019 16.11.29)
X The current Visual Studio installation is incomplete.
Please use Visual Studio Installer to complete the installation or reinstall Visual Studio.
[!] Android Studio (version 2023.1)
X Unable to determine bundled Java version.
[√] Android Studio (version 2024.1)
[√] VS Code (version 1.95.3)
[√] Connected device (5 available)
[√] Network resources
sample images:
- viewed with adobe:
- viewed with pdfviewer:
Here is a pdf example:
sample.pdf
you can create a new flutter app and include the following to test:
-
include the pdf in /assets/sample.pdf
-
pubspec.yaml:
pubspec.txt -
main.dart:
main.txt