Create Your Own PDF Files in

  Рет қаралды 17,648

Dimitar Klaturov

Dimitar Klaturov

Күн бұрын

Пікірлер: 112
@flutterflowexpert
@flutterflowexpert Жыл бұрын
🌟 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! 🚀
@sssouto241
@sssouto241 Жыл бұрын
From Brazil. Good night. Thank you my friend. Congratulations
@jerkha
@jerkha Жыл бұрын
Great content !! A visual builder for the pdf's would help me a lot but I'll give it a shot to do it the code way.
@flutterflowexpert
@flutterflowexpert Жыл бұрын
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.
@MatheusPina
@MatheusPina Жыл бұрын
@@flutterflowexpert Yes, it will be useful! hahahah
@kbdub16
@kbdub16 11 ай бұрын
very nice video!
@noosfera_It
@noosfera_It Жыл бұрын
Спасибо! огромное и крутое
@chitzvalerio6396
@chitzvalerio6396 9 ай бұрын
Hi there, I'm still getting an error uri does not exist. Need help. Thank u!
@flutterflowexpert
@flutterflowexpert 9 ай бұрын
Please join my Discord server and share a screenshot
@By_SophiaHC_mindset
@By_SophiaHC_mindset 2 ай бұрын
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!
@flutterflowexpert
@flutterflowexpert 2 ай бұрын
you can have a loop inside the custom widget and divide your code in 5 sections.
@TheJulienlu
@TheJulienlu 7 ай бұрын
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 ?
@flutterflowexpert
@flutterflowexpert 7 ай бұрын
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.
@monawang73
@monawang73 Ай бұрын
Thank you for your video. I would like to know how I can add the image URL from Firebase into this PDF. Thank you.
@flutterflowexpert
@flutterflowexpert Ай бұрын
The code is in my GitHub repo
@bryanrivadeneira9216
@bryanrivadeneira9216 Жыл бұрын
Genius
@ineteam
@ineteam Жыл бұрын
Does the code currently work? Integrated into a project and assigned to a button, it acts like a load but does not open anything
@flutterflowexpert
@flutterflowexpert Жыл бұрын
Yes the code should work. Please open the dev tools and let me know in the console if you get any errors
@ineteam
@ineteam Жыл бұрын
@@flutterflowexpert this is the error: dart_sdk.js:5397 Uncaught (in promise) Error: RangeError (index): Index out of range: no indices are valid: 0 at Object.throw_ [as throw] (dart_sdk.js:5397:11) at Object._checkValidIndex (dart_sdk.js:33641:17) at [dartx._get] (dart_sdk.js:32806:26) at input_buffer.InputBuffer.new._get (input_buffer.dart:44:39) at jpeg_data.JpegData.new.validate (jpeg_data.dart:64:17) at jpeg_decoder.JpegDecoder.new.isValidFile (jpeg_decoder.dart:18:50) at Object.findDecoderForData (formats.dart:116:10) at MemoryImage.new (image_provider.dart:101:24) at pdfInvoiceDownload (pdf_invoice_download.dart:43:20) at pdfInvoiceDownload.next () at dart_sdk.js:40691:33 at _RootZone.runUnary (dart_sdk.js:40524:59) at _FutureListener.thenAwait.handleValue (dart_sdk.js:35738:29) at handleValueCallback (dart_sdk.js:36299:49) at _Future._propagateToListeners (dart_sdk.js:36337:17) at [_completeWithValue] (dart_sdk.js:36172:23) at async._AsyncCallbackEntry.new.callback (dart_sdk.js:36206:35) at Object._microtaskLoop (dart_sdk.js:40821:13) at _startMicrotaskLoop (dart_sdk.js:40827:13) at dart_sdk.js:36561:9 throw_ @ dart_sdk.js:5397 _checkValidIndex @ dart_sdk.js:33641 [dartx._get] @ dart_sdk.js:32806 _get @ input_buffer.dart:44 validate @ jpeg_data.dart:64 isValidFile @ jpeg_decoder.dart:18 findDecoderForData @ formats.dart:116 new @ image_provider.dart:101 pdfInvoiceDownload @ pdf_invoice_download.dart:43 (anonymous) @ dart_sdk.js:40691 runUnary @ dart_sdk.js:40524 handleValue @ dart_sdk.js:35738 handleValueCallback @ dart_sdk.js:36299 _propagateToListeners @ dart_sdk.js:36337 [_completeWithValue] @ dart_sdk.js:36172 (anonymous) @ dart_sdk.js:36206 _microtaskLoop @ dart_sdk.js:40821 _startMicrotaskLoop @ dart_sdk.js:40827 (anonymous) @ dart_sdk.js:36561 Promise.then (async) _scheduleImmediateWithPromise @ dart_sdk.js:36559 _scheduleImmediate @ dart_sdk.js:36565 _scheduleAsyncCallback @ dart_sdk.js:40842 _rootScheduleMicrotask @ dart_sdk.js:41024 scheduleMicrotask @ dart_sdk.js:40544 [_asyncCompleteWithValue] @ dart_sdk.js:36205 [_asyncComplete] @ dart_sdk.js:36187 complete @ dart_sdk.js:35621 (anonymous) @ binding.dart:372 runUnaryGuarded @ dart_sdk.js:40461 (anonymous) @ dart_sdk.js:175135 (anonymous) @ dart_sdk.js:175537 runUnary @ dart_sdk.js:40524 handleValue @ dart_sdk.js:35738 handleValueCallback @ dart_sdk.js:36299 _propagateToListeners @ dart_sdk.js:36337 [_complete] @ dart_sdk.js:36164 (anonymous) @ dart_sdk.js:35300 internalCallback @ dart_sdk.js:27007 setTimeout (async) _isolate_helper.TimerImpl.new @ dart_sdk.js:27012 _createTimer @ dart_sdk.js:39467 createTimer @ dart_sdk.js:40547 new @ dart_sdk.js:39444 delayed @ dart_sdk.js:35298 replyToPlatformMessage @ dart_sdk.js:175535 (anonymous) @ dart_sdk.js:175171 runUnary @ dart_sdk.js:40524 handleValue @ dart_sdk.js:35738 handleValueCallback @ dart_sdk.js:36299 _propagateToListeners @ dart_sdk.js:36337 [_completeWithValue] @ dart_sdk.js:36172 (anonymous) @ dart_sdk.js:36206 _microtaskLoop @ dart_sdk.js:40821 _startMicrotaskLoop @ dart_sdk.js:40827 (anonymous) @ dart_sdk.js:36561 Promise.then (async) _scheduleImmediateWithPromise @ dart_sdk.js:36559 _scheduleImmediate @ dart_sdk.js:36565 _scheduleAsyncCallback @ dart_sdk.js:40842 _rootScheduleMicrotask @ dart_sdk.js:41024 scheduleMicrotask @ dart_sdk.js:40544 [_asyncCompleteWithValue] @ dart_sdk.js:36205 [_asyncComplete] @ dart_sdk.js:36187 complete @ dart_sdk.js:35621 (anonymous) @ dart_sdk.js:197201 _checkAndCall @ dart_sdk.js:5600 dcall @ dart_sdk.js:5605 ret @ dart_sdk.js:62582 load (async) callMethod$ @ dart_sdk.js:62768 DomEventTargetExtension$124addEventListener @ dart_sdk.js:196019 domHttpRequest @ dart_sdk.js:197194 load @ dart_sdk.js:141779 runBody @ dart_sdk.js:40710 _async @ dart_sdk.js:40742 load @ dart_sdk.js:141776 [_sendPlatformMessage] @ dart_sdk.js:175170 sendPlatformMessage @ dart_sdk.js:175101 send @ binding.dart:370 load @ asset_bundle.dart:252 pdfInvoiceDownload @ pdf_invoice_download.dart:42 (anonymous) @ dart_sdk.js:40691 runUnary @ dart_sdk.js:40524 handleValue @ dart_sdk.js:35738 handleValueCallback @ dart_sdk.js:36299 _propagateToListeners @ dart_sdk.js:36337 [_completeWithValue] @ dart_sdk.js:36172 (anonymous) @ dart_sdk.js:36206 _microtaskLoop @ dart_sdk.js:40821 _startMicrotaskLoop @ dart_sdk.js:40827 (anonymous) @ dart_sdk.js:36561 Promise.then (async) _scheduleImmediateWithPromise @ dart_sdk.js:36559 _scheduleImmediate @ dart_sdk.js:36565 _scheduleAsyncCallback @ dart_sdk.js:40842 _rootScheduleMicrotask @ dart_sdk.js:41024 scheduleMicrotask @ dart_sdk.js:40544 [_asyncCompleteWithValue] @ dart_sdk.js:36205 [_asyncComplete] @ dart_sdk.js:36187 complete @ dart_sdk.js:35621 (anonymous) @ browser_client.dart:68 runUnary @ dart_sdk.js:40524 handleValue @ dart_sdk.js:35738 handleValueCallback @ dart_sdk.js:36299 _propagateToListeners @ dart_sdk.js:36337 [_complete] @ dart_sdk.js:36164 _cancelAndValue @ dart_sdk.js:40948 (anonymous) @ dart_sdk.js:21725 _checkAndCall @ dart_sdk.js:5600 dcall @ dart_sdk.js:5605 (anonymous) @ dart_sdk.js:109785 load (async) [_addEventListener] @ dart_sdk.js:65762 [dartx.addEventListener] @ dart_sdk.js:65750 [_tryResume] @ dart_sdk.js:109810 onData @ dart_sdk.js:109786 get first @ dart_sdk.js:21724 send @ browser_client.dart:66 (anonymous) @ dart_sdk.js:40691 runUnary @ dart_sdk.js:40524 handleValue @ dart_sdk.js:35738 handleValueCallback @ dart_sdk.js:36299 _propagateToListeners @ dart_sdk.js:36337 [_completeWithValue] @ dart_sdk.js:36172 (anonymous) @ dart_sdk.js:36206 _microtaskLoop @ dart_sdk.js:40821 _startMicrotaskLoop @ dart_sdk.js:40827 (anonymous) @ dart_sdk.js:36561 Promise.then (async) _scheduleImmediateWithPromise @ dart_sdk.js:36559 _scheduleImmediate @ dart_sdk.js:36565 _scheduleAsyncCallback @ dart_sdk.js:40842 _rootScheduleMicrotask @ dart_sdk.js:41024 scheduleMicrotask @ dart_sdk.js:40544 [_asyncCompleteWithValue] @ dart_sdk.js:36205 [_asyncComplete] @ dart_sdk.js:36187 complete @ dart_sdk.js:35621 [_complete] @ ticker.dart:402 ticker$.TickerFuture.complete @ ticker.dart:392 [_animateToInternal] @ animation_controller.dart:615 forward @ animation_controller.dart:467 confirm @ ink_ripple.dart:200 handleTap @ ink_well.dart:1089 invokeCallback @ recognizer.dart:253 handleTapUp @ tap.dart:627 [_checkUp] @ tap.dart:306 handlePrimaryPointer @ tap.dart:239 handleEvent @ recognizer.dart:615 [_dispatch] @ pointer_router.dart:98 (anonymous) @ pointer_router.dart:143 forEach @ dart_sdk.js:28056 [_dispatchEventToRoutes] @ pointer_router.dart:141 route @ pointer_router.dart:127 handleEvent @ binding.dart:460 dispatchEvent @ binding.dart:440 dispatchEvent @ binding.dart:336 [_handlePointerEventImmediately] @ binding.dart:395 handlePointerEvent @ binding.dart:357 [_flushPointerEventQueue] @ binding.dart:314 [_handlePointerDataPacket] @ binding.dart:295 invoke1 @ dart_sdk.js:200374 invokeOnPointerDataPacket @ dart_sdk.js:175073 [_onPointerData] @ dart_sdk.js:176047 (anonymous) @ dart_sdk.js:176592 (anonymous) @ dart_sdk.js:176532 loggedHandler @ dart_sdk.js:176223 (anonymous) @ dart_sdk.js:176141 _checkAndCall @ dart_sdk.js:5600 dcall @ dart_sdk.js:5605 ret @ dart_sdk.js:62582
@ineteam
@ineteam Жыл бұрын
Testing with the code, the error is solved after removing the image inserted in the pdf, I did not read the warning message. Thanks for answering,
@careerfIT-co6nq
@careerfIT-co6nq 5 ай бұрын
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.
@flutterflowexpert
@flutterflowexpert 5 ай бұрын
yes best way is to use 3rd party tools for that and just use an API
@omaraskeeb473
@omaraskeeb473 9 ай бұрын
How to generate pages dynamically instead of one page. Please and thank you.
@flutterflowexpert
@flutterflowexpert 9 ай бұрын
You can use a loop for that.
@omaraskeeb473
@omaraskeeb473 9 ай бұрын
@@flutterflowexpert very sory, can you provide me with sample or a reference, I couldn't find documentation for pdf library
@flutterflowexpert
@flutterflowexpert 9 ай бұрын
@@omaraskeeb473 please join my Discord server where I can share code with you.
@boulemzairnadhem6754
@boulemzairnadhem6754 Жыл бұрын
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.
@flutterflowexpert
@flutterflowexpert Жыл бұрын
I will take a look. Did you include all the imports?
@boulemzairnadhem6754
@boulemzairnadhem6754 Жыл бұрын
@@flutterflowexpert yes i did
@flutterflowexpert
@flutterflowexpert Жыл бұрын
@@boulemzairnadhem6754 please write me in Discord, join my channel, it will be easier - discord.gg/BZVnTBVZ
@francoisleroux8344
@francoisleroux8344 11 ай бұрын
were you able to solve this, I have the same problem?
@iAuslaender
@iAuslaender Жыл бұрын
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
@flutterflowexpert
@flutterflowexpert Жыл бұрын
Yes exactly :)
@iAuslaender
@iAuslaender Жыл бұрын
@@flutterflowexpert thank you very much sir. I'm looking forward for more awesome videos of yours🙏🏽🙏🏽
@sobhe-omidorg1599
@sobhe-omidorg1599 Жыл бұрын
@@iAuslaender hi did you managed to do it and if you can share your code. where do you exactly add the code of pdf templete you make
@iAuslaender
@iAuslaender Жыл бұрын
@@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 )
@eminefy4081
@eminefy4081 Жыл бұрын
@@iAuslaender still waiting on the code, Senior man.
@kentthomas1045
@kentthomas1045 Жыл бұрын
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?
@flutterflowexpert
@flutterflowexpert Жыл бұрын
You can simple do that with a list of strings and then use this list as a parameter and then display it in the PDF
@KasperDefesche
@KasperDefesche 11 ай бұрын
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?
@flutterflowexpert
@flutterflowexpert 11 ай бұрын
You can use condition and if the text is too big you can make it shorter and place "..." this will be my approach
@KasperDefesche
@KasperDefesche 11 ай бұрын
That is an option, but what if I want the pdf to display the full text? @@flutterflowexpert
@leandroosterne
@leandroosterne Жыл бұрын
A problem with import '../../backend/firebase_storage/storage.dart';
@flutterflowexpert
@flutterflowexpert Жыл бұрын
what exactly is the issue? Please refer to this issue github.com/bulgariamitko/flutterflowtutorials/issues/3
@mee1511
@mee1511 Жыл бұрын
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.
@flutterflowexpert
@flutterflowexpert Жыл бұрын
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) );
@mee1511
@mee1511 Жыл бұрын
@@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.
@noosfera_It
@noosfera_It Жыл бұрын
Буду рад рекомендациям по тому как вылечить)
@leandroosterne
@leandroosterne Жыл бұрын
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
@flutterflowexpert Жыл бұрын
I am about to release a video on how you can fix this issue
@nestorsantosparedes383
@nestorsantosparedes383 Жыл бұрын
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!
@flutterflowexpert
@flutterflowexpert Жыл бұрын
I defensively plan this in the future!
@FGDNiz
@FGDNiz Жыл бұрын
Is there a way to put an image uploaded for the user on the PDF? Can be uploaded to Firebase or Local.
@flutterflowexpert
@flutterflowexpert Жыл бұрын
Yes. You can store the image in FB and then use it with a network path. the code is in the file in my github
@FGDNiz
@FGDNiz Жыл бұрын
@@flutterflowexpert thanks a lot! But i tried a lot of ways with FB and netImage and i can not find the way yet 🤯
@ChrisS-oo6fl
@ChrisS-oo6fl Жыл бұрын
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.
@flutterflowexpert
@flutterflowexpert Жыл бұрын
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.
@amaux4370
@amaux4370 6 ай бұрын
Hi, someone know how to add a image to the pdf ? thanks
@flutterflowexpert
@flutterflowexpert 6 ай бұрын
Yes, you can use that video - kzbin.info/www/bejne/j5Srg5KYgrh8htk
@JuanjoMelM
@JuanjoMelM Жыл бұрын
hi Dimitar, thanks, but, what about the buttom, i put it in actions, custom actions, but it doesn´t work...
@flutterflowexpert
@flutterflowexpert Жыл бұрын
Open the Dev console and look if you get any errors and you can join the Discord server and paste the error there.
@JuanjoMelM
@JuanjoMelM Жыл бұрын
@@flutterflowexpert it was the image, thanks a lot!!!
@brunotayrobiffe2088
@brunotayrobiffe2088 10 ай бұрын
If i put a list as argument and need more than 1 Page Can add pages auto?
@flutterflowexpert
@flutterflowexpert 10 ай бұрын
Yes you can generate dynamic pages using a loop.
@rmsanitair8743
@rmsanitair8743 10 ай бұрын
Does this still work in FF 4.0? because I am getting errors, and cannot even save the action. It says it's empty or cannot parse the action.
@flutterflowexpert
@flutterflowexpert 10 ай бұрын
I should work, yes. Please join my Discord server and share your code so I can review it.
@JuanjoMelM
@JuanjoMelM Жыл бұрын
Hi Dimitar, Do you know where I can find material on how I can create a pdf with the code of a form, since when pasting the code it gives me errors
@flutterflowexpert
@flutterflowexpert Жыл бұрын
If you are talking about passing data from a TextField you can do that by adding Arguments to the code I have provided.
@JuanjoMelM
@JuanjoMelM Жыл бұрын
@@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
@flutterflowexpert Жыл бұрын
@@JuanjoMelM Please join my Discord server and paste the code you are trying to implement and I will look into it.
@alekvh1342
@alekvh1342 Жыл бұрын
Is it possible to insert a Synchfusion DataGrid as a custom widget in FF?
@flutterflowexpert
@flutterflowexpert Жыл бұрын
Yes. It is possible.
@alekvh1342
@alekvh1342 Жыл бұрын
@@flutterflowexpert Благодаря, ще пробвам👍. Аз наскоро започнах да използвам Flutter.
@flutterflowexpert
@flutterflowexpert Жыл бұрын
​@@alekvh1342 Ох, българин, можеш да се присъединиш към Discord канала ми. събирам всички БГ на едно място :) discord.gg/BYWhN4ju
@cannonjensen3303
@cannonjensen3303 Жыл бұрын
How can I join the discord server? I copied the code but I'm getting some errors in the console that I don't know how to handle
@flutterflowexpert
@flutterflowexpert Жыл бұрын
The link is in the description of the video discord.com/invite/ERDVFBkJmY
@cannonjensen3303
@cannonjensen3303 Жыл бұрын
​@@flutterflowexpert Thank you! Sorry I missed that in the description
@Neell0
@Neell0 Жыл бұрын
The code in the description is not that of the video
@flutterflowexpert
@flutterflowexpert Жыл бұрын
Yes the code is always up to date as Flutter and FF are updating as well. That's the reason.
@fespyanko
@fespyanko Жыл бұрын
Can I use that code to build an app that allow the user to create his pdf invoices and send to his clients?
@flutterflowexpert
@flutterflowexpert Жыл бұрын
yes you can. You just need parameters in your custom code
@fespyanko
@fespyanko Жыл бұрын
@@flutterflowexpert thank you Dimitar. Only I have to idea where to start. I'm a beginner, Im not even sure what a parameter is.
@flutterflowexpert
@flutterflowexpert Жыл бұрын
@@fespyanko This is a good start docs.flutterflow.io/data-and-backend/passing-data
@fernanapp5538
@fernanapp5538 Жыл бұрын
Hi Dimitar. Thank you very much for your video. I tried the link for code, but it returns 404
@flutterflowexpert
@flutterflowexpert Жыл бұрын
sorry about that, now it should work
@fernandovazquez-miranda1279
@fernandovazquez-miranda1279 Жыл бұрын
@@flutterflowexpertNow it is fine!! Thank you very much
@mohammudhassan264
@mohammudhassan264 Жыл бұрын
hello, can I use to add image from arguments
@flutterflowexpert
@flutterflowexpert Жыл бұрын
Yes. If they come from network path
@mohammudhassan264
@mohammudhassan264 Жыл бұрын
@@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,
@flutterflowexpert
@flutterflowexpert Жыл бұрын
@@mohammudhassan264 Yes you can do that.
@mohammudhassan264
@mohammudhassan264 Жыл бұрын
@@flutterflowexpertCan you assist me please
@flutterflowexpert
@flutterflowexpert Жыл бұрын
@@mohammudhassan264 Write me in the Discord channel discord.gg/cVd9dfXF
@gowthamshanmugam6988
@gowthamshanmugam6988 Жыл бұрын
how to add pages from base64 pdf string to this pdf
@flutterflowexpert
@flutterflowexpert Жыл бұрын
List bytes = base64Decode(base64PdfString); PDFDocument document = PDFDocument.fromBytes(bytes); document.addPage(base64PdfString);
@gowthamshanmugam6988
@gowthamshanmugam6988 Жыл бұрын
@@flutterflowexpert need syncfusionpdf import? I used that import but not works..which import i want to use? pls guide me
@flutterflowexpert
@flutterflowexpert Жыл бұрын
@@gowthamshanmugam6988 please find me in the community and write me there.
@noosfera_It
@noosfera_It Жыл бұрын
но оно к сожалению компилируется но не работает.
@flutterflowexpert
@flutterflowexpert Жыл бұрын
Check "Exclude from compilation" and try again
@mercantemercantevet1360
@mercantemercantevet1360 Жыл бұрын
@@flutterflowexpert i check this option, but it's not working yet, nothing happend
@developerkeyautomation6231
@developerkeyautomation6231 Жыл бұрын
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
@flutterflowexpert Жыл бұрын
You need to exclude it from compilation
@developerkeyautomation6231
@developerkeyautomation6231 Жыл бұрын
@@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
@flutterflowexpert Жыл бұрын
@@developerkeyautomation6231 No there should be supported I am using Test mode in my video. What is the exact error that you are getting?
@developerkeyautomation6231
@developerkeyautomation6231 Жыл бұрын
@@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.
@flutterflowexpert
@flutterflowexpert Жыл бұрын
@@developerkeyautomation6231 This is custom action and not a function and you need to exclude it from compilation still
PDF Generator in Flutter - How to create your next Invoice
23:35
Flutter Explained
Рет қаралды 30 М.
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 638 М.
отомстил?
00:56
История одного вокалиста
Рет қаралды 6 МЛН
SCHOOLBOY. Мама флексит 🫣👩🏻
00:41
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 7 МЛН
So Cute 🥰
00:17
dednahype
Рет қаралды 58 МЛН
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 36 МЛН
Adobe is horrible. So I tried the alternative
25:30
Bog
Рет қаралды 1 МЛН
How to Build a Spotify UI Clone in Flutterflow: A Step-by-Step Guide
38:49
Nobody Cares About Your Coding Projects
11:02
Tariq10x
Рет қаралды 107 М.
Build A Personal Expense Tracker That Scans Your Receipts!
38:53
James NoCode
Рет қаралды 10 М.
The perfect imperfection of Google's Material You
15:47
David Imel
Рет қаралды 451 М.
My reaction to - No code app development is a trap by Dee
48:35
Dimitar Klaturov
Рет қаралды 931
Flutter Tutorial - Create Invoice PDF Document
17:23
HeyFlutter․com
Рет қаралды 99 М.
отомстил?
00:56
История одного вокалиста
Рет қаралды 6 МЛН