🌟 Welcome to my video! 🌟 To ensure you have the best experience and access to all the resources mentioned, we've placed all active links in the video description below. This helps me keep everything up-to-date and easy for you to find! 👾 Join my Discord community! It's a great place to connect, share, and get the latest updates. The link is in the description as well. 💖 If you enjoy our content, consider supporting the channel. Every bit of support helps me create more of what you love. Details on how you can support are also in the description. Thank you for watching and being a part of the community! 🚀
I am planing to do that as well. To share a demo template, but because they are so many possible ways that's why I was not sure if it will be relevant for users.
Hi. I am interested on learning how to get the PDF text and divide it into for example 5 sections. I want those 5 sections to be returned as a text. What do you recommend me to do in this case? Thanks!
hey nice video i managed to get a pdf quite the same as you but i struggle with one thing i would like to send reciep by mail with a PDF file in it but how can i generate with dynamic contant the list of item the user have in is card ... i don't see who to tell the print to print a list item by items ? any clue ?
You can save the dynamically generated list to your FB or SB storage and then provide a link to the pdf when you send the email. If you have any more question please join my Discord channel the link is in the description of the video.
Thank you very much for this Video. If I understood you correctly I could design a PDF document on a separate FluterFlow Site, then copy the code, past it at the state place, add pw. in front of all arguments needed and it should work. I will try it out and let you know :D Thanks again for your work
@@sobhe-omidorg1599 👋 hi there. Unfortunately I was not able to it yet. I can share the code as soon as I'm done. But it could take me some time (3-4 Month xD )
Saludos Dimitar! podrias hacer un tutorial completo donde usas el codigo extendidio, es decir, como lo construyes y como lo pones en uso? porque el codigo que subiste es muy basico, y me interesa conocer concretamente es como hago para pasar los elementos de un carrito de compras hacia una factura, y hasta ahora no he encontrado un tutorial mejor que los que has subido sobre el tema... esperando me puedas apoyar! un grato saludo!
Is it possible to convert existing HTML to PDF file (with same styling and fonts..)? I have tried using library htmltopdfwidgets, but I cannot make it work.
Great tuto, but when i pasted your code and did compilation, it said "uploadData' isn't defined , try to define it or import the library that defines it, so i hope you can suggeste a solution, thank you.
Can you create a training where the user clicks 3 buttons and it uploads each button text to the pdf? So if I am selling three items, and they pick only 2 only those two will be on the final pdf to download?
Thank you a lot for made this tutorial and sharing your code. I made it success but only issue I had is the pdf can’t render thai language. Can you suggest how to fix it.
This should be something with encoding. You need to add a Font which is supporting Thai. For example final font = pw.Font.ttf(await rootBundle.load('assets/THSarabunNew.ttf')); final para = pw.Paragraph( text: 'สวัสดีครับ ผมชื่อไนท์', style: pw.TextStyle(font: font) );
@@flutterflowexpert Thank a lot, As I understand is font in FlutterFlow (which is can render Thai language) is separate with the PDF created because is no import port in the code you give us?. sorry I have never learn coding.
Great video Dimitar. I have only one problem. The body text is generated from an argument. In some instances, the body text exceeds the length of the page, which results in that the body text doesn't show at all. Do you know a way to fix this issue?
Part 2... printing (printing 5.10.1) Because what good is A PDF without the users ability to print it. (Yes it can be saved) Βut 99% of the time a user will need a pdf to be able to print. Making the PDF is like putting on your socks to go outside. You still need the shoes, sandals or flippy flops. Print in FF appears to be as difficult as creating the pdf.
You are not right, because using this code you should be able to download the file to your device and then open it with Adobe Reader for example using your phone and from there it is like printing a normal PDF file.
Help-me... Error: Failed running flutter pub get... Because every version of flutter from sdk depends on meta 1.8.0 and xml >=6.3.0 depends on meta ^1.9.0, flutter from sdk is incompatible
@@flutterflowexpert no, in fact, i´m trying to make a diploma and certificate for schools, so, that includes images, textbox, and other things that I designed in a form, but when I try to paste in your code, appears some errors.
@@flutterflowexpert Thanks, I wanted to use from parameter, so that image can show specific data like the others strings Future idRequest( BuildContext context, String? personName, String? fatherName, String? birthOfPlace, String? dateOfBirth, String? gender, String? occupation, String? resident, String? martialStutus, String? issuedDate, String? registrationID, String? motherName,
Hi, thanks for sharing the code with us. I have a problem: I can't launch the app because it tells me that the custom actions are not compatible with the web version of the app. These are just some of the errors: Error: Command failed: flutter build web --web-renderer html --no-pub --no-version-check Target dart2js failed: Exception: lib/custom_code/actions/upload_any_file_type.dart:18:8: Error: Error when reading 'lib/flutter_flow/upload_media.dart': Error reading 'lib/flutter_flow/upload_media.dart' (No such file or directory) import '../../flutter_flow/upload_media.dart'; ^ lib/custom_code/actions/upload_any_file_type.dart:23:30: Error: Method not found: 'selectFile'. final selectedFile = await selectFile(allowedExtensions: fileType); ^^^^^^^^^^ ... lib/backend/firebase_storage/storage.dart:6:17: Info: Found this candidate, but the arguments don't match. Future uploadData(String path, Uint8List data) async { ^^^^^^^^^^ Error: Compilation failed. Exception: Failed to compile application for the Web. The three custom actions I created are the same as in your video: pdfInvoiceDownload, uploadAnyFileType, uploadFileToLocalAndWeb. Do you have any idea what the problem might be? Thanks in advance!
@@flutterflowexpert Thank you for your reply! But unfortunately I still encounter the same problem, for the uploadAnyTypeFile function, whether I launch the app in Test mode or in Run mode. Are these functions not supported in the "online" version of the app on Flutterflow, but only on smartphones? I would really appreciate it if you could help me, even through other channels.
@@flutterflowexpert This is the complete error: Compilation Error in Custom Code Check custom code for errors: uploadAnyFileType Running "flutter pub get" in k_e_y_a_p_p_commerciale... Launching lib/main.dart on Web Server in debug mode... Waiting for connection from debug service on Web Server... lib/custom_code/actions/upload_any_file_type.dart:18:8: Error: Error when reading 'lib/flutter_flow/upload_media.dart': No such file or directory import '../../flutter_flow/upload_media.dart'; ^ lib/custom_code/actions/upload_any_file_type.dart:23:30: Error: Method not found: 'selectFile'. final selectedFile = await selectFile(allowedExtensions: fileType); ^^^^^^^^^^ lib/custom_code/actions/upload_any_file_type.dart:25:5: Error: Method not found: 'showUploadMessage'. showUploadMessage( ^^^^^^^^^^^^^^^^^ lib/custom_code/actions/upload_any_file_type.dart:39:7: Error: Method not found: 'showUploadMessage'. showUploadMessage( ^^^^^^^^^^^^^^^^^ lib/custom_code/actions/upload_any_file_type.dart:44:7: Error: Method not found: 'showUploadMessage'. showUploadMessage( ^^^^^^^^^^^^^^^^^ lib/custom_code/actions/upload_any_file_type.dart:36:22: Error: The setter 'filePath' isn't defined for the class 'FFAppState'. - 'FFAppState' is from 'package:k_e_y_a_p_p_commerciale/app_state.dart' ('lib/app_state.dart'). Try correcting the name to the name of an existing setter, or defining a setter or field named 'filePath'. FFAppState().filePath = downloadUrl; ^^^^^^^^ /home/.pub-cache/hosted/pub.dev/pdf-3.10.2/lib/src/svg/text.dart:63:29: Error: The getter 'value' isn't defined for the class 'XmlNode'. - 'XmlNode' is from 'package:xml/src/xml/nodes/node.dart' ('/home/.pub-cache/hosted/pub.dev/xml-6.2.2/lib/src/xml/nodes/node.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'. .map((node) => node.value) ^^^^^ Waiting for connection from debug service on Web Server... 76.7s Failed to compile application.