Тёмный

Create a PDF Document in Flutter 

Syncfusion, Inc
Подписаться 32 тыс.
Просмотров 57 тыс.
50% 1

Опубликовано:

 

12 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 136   
@61markt
@61markt 3 года назад
I enjoyed you video very much and implemented the code, works great I got to play with different features, thank you for all your work. I will use your library's in the future.
@SyncfusionInc
@SyncfusionInc 3 года назад
Hi Mark, That’s great. Thank you for your kind words. We really appreciate your feedback. We're glad that you got it to work. Please don't hesitate to reach out with additional questions.
@61markt
@61markt 3 года назад
@@SyncfusionInc I am with a small app company and have 3 apps in the market, we chose to do our premium version app in flutter( a very good decision) but as I write we have Android and IOS code bases for our free versions( seriously maintaining 3 code bases). We hope by the end of the year to migrate our free versions to a cut down version of our premium app in flutter, hopefully reducing everything to one code base ( flutter). That's why I like your library, because our free app versions generate pdf's off line. Simple answer, just saying.
@Frescono
@Frescono 4 месяца назад
Very good! Can the user edit text from the PDF in the app?
@SyncfusionInc
@SyncfusionInc 4 месяца назад
Hi, Using our Flutter library, we cannot edit text in an existing PDF document. While it's possible to load an existing document and add new text, it's impossible to edit the existing text within the document.
@hayashi3674
@hayashi3674 2 года назад
Great video, does this work on ios too?
@SyncfusionInc
@SyncfusionInc 2 года назад
Hi Ella, Thanks for reaching out. Yes, it is working on iOS too. Please refer to the KB article and the UG documentation for further details, www.syncfusion.com/kb/11330/how-to-create-a-pdf-file-in-syncfusion-flutter-pdf-library help.syncfusion.com/flutter/pdf/overview
@afluxmhd
@afluxmhd 2 года назад
4:01 I'm getting error like this Error: The getter 'path' isn't defined for the class List? lib/mobile.dart:6 - 'List' is from 'dart:core'. - 'Directory' is from 'dart:io'. Try correcting the name to the name of an existing getter, or defining a getter or field named 'path'. final path = (await getExternalStorageDirectories()).path; please someone help this.
@SyncfusionInc
@SyncfusionInc 2 года назад
Hello, We can look into this and get back to you but response times via our RU-vid videos are slower than our regular support. Have you opened a support ticket or tried our live chat? www.syncfusion.com/support/directtrac/incidents/newincident If you have a retail or flat license, you also have access to our support chat.
@SyncfusionInc
@SyncfusionInc 2 года назад
Recently, the path_provider package depreciated the getExternalStorage() API. Please find the details from these changes (pub.dev/packages/path_provider/changelog#120) log. So we request you to remove the deprecated API getExternalStorageDirectory and use the getApplicationDocumentsDirectory instead to overcome this reported problem. Please try the sample from below link www.syncfusion.com/kb/11330/how-to-create-a-pdf-file-in-syncfusion-flutter-pdf-library Let us know if you need any further assistance in this.
@alexislogmo8247
@alexislogmo8247 2 года назад
Good job ! Thanks you so much.
@SyncfusionInc
@SyncfusionInc 2 года назад
Hi Alexis, We really appreciate your feedback.
@muhammadumair-sg8ci
@muhammadumair-sg8ci Год назад
Good work❤
@mdshahed5364
@mdshahed5364 Год назад
Its showing an error that future can not use as list??? It's showing in the saveandlauncfile method
@SyncfusionInc
@SyncfusionInc Год назад
Hi, We have changed the save API return type to feature from the product version 20.3.36 and later. So we suggest you use the following code to resolve the issue. List bytes = await document.save(); or List bytes = document.saveSync(); Please refer to the below link for more information, pub.dev/packages/syncfusion_flutter_pdf/changelog
@shahbazhusain8612
@shahbazhusain8612 2 года назад
I'm trying to create a pdf which will have a header consisting of companie's logo image and their address in a text format. The company logo is coming out fine, but the text in header is coming out very streched and ugly. How can i fix that? Thanks!
@SyncfusionInc
@SyncfusionInc 2 года назад
Hello, We can look into this and get back to you but response times via our RU-vid videos are slower than our regular support. Have you opened a support ticket or tried our live chat? www.syncfusion.com/support/directtrac/incidents/newincident If you have a retail or flat license, you also have access to our support chat.
@SyncfusionInc
@SyncfusionInc 2 года назад
We have achieved the required scenario without any preservation issues with the below code snippet. So, kindly try it out and refer to the below documentation link for more information. help.syncfusion.com/flutter/pdf/working-with-headers-and-footers help.syncfusion.com/flutter/pdf/working-with-text Code Snippet: Future _createPDF() async { //Create a new pdf document PdfDocument document = PdfDocument(); //Add the pages to the document for (int i = 1; i <= 2; i++) { document.pages.add(); } //Create the header with specific bounds PdfPageTemplateElement header = PdfPageTemplateElement( [Rect.fromLTWH(0,](Rect.fromLTWH(0,) 0, document.pages[0].getClientSize().width, 300)); //Load image file PdfImage logoImage = PdfBitmap(await _readImageData('logo.png')); //Draw the image to the header [header.graphics.drawImage(logoImage,](header.graphics.drawImage(logoImage,) [Rect.fromLTWH(0,](Rect.fromLTWH(0,) 0, logoImage.width / 2, logoImage.height / 2)); //Draw address string to the header [header.graphics.drawString(](header.graphics.drawString() 'Syncfusion Software PVT LTD Eymard Complex Aj 217 sms hospital near 4th Avenue Anna Nagar-600040', PdfStandardFont(PdfFontFamily.timesRoman, 11), bounds: Rect.fromLTWH(document.pages[0].getClientSize().width, 0, 0, 0), format: PdfStringFormat( alignment: PdfTextAlignment.right, )); //Add the header at top of the document document.template.top = header; //Save the PDF document List bytes = document.save(); //Dispose document document.dispose(); } Future> _readImageData(String name) async { final ByteData data = await rootBundle.load('assets/$name'); return [data.buffer.asUint8List(data.offsetInBytes,](data.buffer.asUint8List(data.offsetInBytes,) data.lengthInBytes); }
@Webdesignanddevelopment
@Webdesignanddevelopment 2 года назад
How to fetch pdf from firebase. I have tried to try. please help me
@SyncfusionInc
@SyncfusionInc 2 года назад
Hi, Thank you for reaching out. In the below KB, there are steps to load the PDF file from firebase. If you need any further assistance, Please create support ticket or github query. www.syncfusion.com/kb/12757/how-to-load-a-pdf-document-from-firebase-storage-in-syncfusion-flutter-pdfviewer.
@johnpatrickrevina2011
@johnpatrickrevina2011 Год назад
Hello sir, I just wanna ask if how can I put the rest of the text to next page? The text I want to print is too long for just one page
@SyncfusionInc
@SyncfusionInc Год назад
Hi John, The PdfLayoutFormat class helps allow the text to flow across pages. The PdfLayoutResult class provides the rendered bounds of the previously added text, which can be used to place successive elements without overlapping. The following code snippet explains how to add elements relatively and also allow the text to flow across multiple pages. //Create a new PDF document PdfDocument document = PdfDocument(); //Adds a page to the document PdfPage page = document.pages.add(); String text = 'Adventure Works Cycles, the fictitious company on which the AdventureWorks sample databases are based, is a large, multinational manufacturing company. The company manufactures and sells metal and composite bicycles to North American, European and Asian commercial markets. While its base operation is located in Washington with 290 employees, several regional sales teams are located throughout their market base.'; //Create a text element with the text and font PdfTextElement textElement = PdfTextElement( text: text, font: PdfStandardFont(PdfFontFamily.timesRoman, 20)); //Create layout format PdfLayoutFormat layoutFormat = PdfLayoutFormat( layoutType: PdfLayoutType.paginate, breakType: PdfLayoutBreakType.fitPage); //Draw the first paragraph PdfLayoutResult result = textElement.draw( page: page, bounds: Rect.fromLTWH(0, 0, page.getClientSize().width / 2, page.getClientSize().height), format: layoutFormat)!; //Draw the second paragraph from the first paragraph end position textElement.draw( page: page, bounds: Rect.fromLTWH(0, result.bounds.bottom + 300, page.getClientSize().width / 2, page.getClientSize().height), format: layoutFormat); //Saves the document File('Output.pdf').writeAsBytes(await document.save()); //Disposes the document document.dispose(); Follow the below link for more information, help.syncfusion.com/flutter/pdf/working-with-text
@doulainc.498
@doulainc.498 3 года назад
Nice video sir. Please is there a way to add text on top of the image?
@SyncfusionInc
@SyncfusionInc 3 года назад
Hi Doula, Thank you for reaching out to us. Please refer to the following link, help.syncfusion.com/flutter/pdf/getting-started Kindly let us know if you have any questions.
@dominatingtrend5872
@dominatingtrend5872 2 года назад
It doesnt support other languages. How can I import other languages to support?
@SyncfusionInc
@SyncfusionInc 2 года назад
Hi, You can draw different languages texts by specifying the supported truetype font. You can refer to the following UG documentation for further details help.syncfusion.com/flutter/pdf/working-with-text#drawing-text-using-different-fonts. We also support RTL language texts, help.syncfusion.com/flutter/pdf/working-with-text#drawing-right-to-left-text.
@AnilKumar-he1sw
@AnilKumar-he1sw 2 года назад
I go through the entire code what u made. But while clicking the button I did not get any response.
@SyncfusionInc
@SyncfusionInc 2 года назад
Hi Anil Kumar, We're happy to look at this. For the fastest response to technical questions, we recommend opening a support ticket so we can exchange files and screenshots. www.syncfusion.com/support/directtrac/incidents/newincident We will check on this with our team and post a response but it will take a little time. Thanks for your question!
@SyncfusionInc
@SyncfusionInc 2 года назад
We tried to reproduce the reported issue, but it's working properly. And it is possible to generate the PDF document. Please refer to the attached sample for your reference. Sample: github.com/SyncfusionExamples/create-a-pdf-document-in-flutter Output: www.syncfusion.com/downloads/support/directtrac/347120/pd/Output-1097674239 Kindly refer to the below link to get more details, help.syncfusion.com/flutter/pdf/getting-started www.syncfusion.com/kb/11973/how-to-create-a-pdf-file-in-flutter-web-platform www.syncfusion.com/kb/11330/how-to-create-a-pdf-file-in-syncfusion-flutter-pdf-library If still, you are facing the issue, We request you to share the complete code snippet or modified sample with product version and device details so that it will be helpful for us to assist you further on this.
@donbaldocho9108
@donbaldocho9108 3 года назад
thanks bro
@SyncfusionInc
@SyncfusionInc 3 года назад
We are glad that you have found it helpful.
@aayankhhan5698
@aayankhhan5698 2 года назад
Can you please make a video how to create a flutter apps to view pdf
@SyncfusionInc
@SyncfusionInc 2 года назад
Hello Aayan, Thank you for your suggestion. We will pass this along to the concerned team.
@SyncfusionInc
@SyncfusionInc 2 года назад
Kindly refer to the following link to view the PDF files in SfPdfViewer. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-f1zEJZRdo7w.html
@EvolvingMillennials
@EvolvingMillennials 3 месяца назад
can we add network image instead of asset is there any vedios related to that
@SyncfusionInc
@SyncfusionInc 3 месяца назад
Hi, We can use the http (pulse.ly/etuc5aucxo) package to download the image from the URL and draw it on the Pdf page using PdfBitmap. Kindly use the following code snippet for reference, PdfBitmap? image; final response = await http.get(Uri.parse(url)); if (response.statusCode == 200) { image = PdfBitmap(await response.bodyBytes); } if (image != null){ page.graphics.drawImage( image, Rect.fromLTWH( 0, 0, page.getClientSize().width, page.getClientSize().height)); } Kindly use the following sample for reference, pulse.ly/9jatsr2by3 To know more about working with images, kindly refer, to pulse.ly/nxujnjjzz3
@mohdev
@mohdev 11 месяцев назад
thank you so much
@jasonraynell6706
@jasonraynell6706 2 года назад
can we automatically download it and open the file after it got downloaded?
@SyncfusionInc
@SyncfusionInc 2 года назад
Hello, We can look into this and get back to you but response times via our RU-vid videos are slower than our regular support. Have you opened a support ticket or tried our live chat? www.syncfusion.com/support/directtrac/incidents/newincident If you have a retail or flat license, you also have access to our support chat.
@SyncfusionInc
@SyncfusionInc 2 года назад
Please refer to UG documentation and follow the steps in this UG documentation: help.syncfusion.com/flutter/pdf/getting-started#save-and-open-a-pdf-document-in-mobile to save the PDF and then open the saved PDF document. Kindly refer to the following code snippet to achieve the requirement. //Get an external storage directory final directory = await getApplicationDocumentsDirectory(); //Get directory path final path = directory.path; //Create an empty file to write PDF data File file = File('$path/Output.pdf'); //Write PDF data await [file.writeAsBytes(bytes,](file.writeAsBytes(bytes,) flush: true); //Open the PDF document in mobile [OpenFile.open(](OpenFile.open()'$path/Output.pdf');
@lochanikalidasu9536
@lochanikalidasu9536 2 месяца назад
I am getting that patch_provider is non existing package, is there any alternative for the same?
@SyncfusionInc
@SyncfusionInc 2 месяца назад
Hello, The package name is not "patch_provider"; it is "path_provider." It is an existing package: pub.dev/packages/path_provider?. We have corrected the spelling mistake in the RU-vid video around the 3:30 minute. Please watch the full video without skipping.
@Testyou-lp3eu
@Testyou-lp3eu 3 месяца назад
ca we add network image in the pdf instead of asset images in flutter web
@SyncfusionInc
@SyncfusionInc 3 месяца назад
Hi, We can use http (pub.dev/packages/http) package to download the image from url and draw in the Pdf page using PdfBitmap. Kindly use the following code snippet for reference, PdfBitmap? image; final response = await http.get(Uri.parse(url)); if (response.statusCode == 200) { image = PdfBitmap(await response.bodyBytes); } if (image != null){ page.graphics.drawImage( image, Rect.fromLTWH( 0, 0, page.getClientSize().width, page.getClientSize().height)); } Kindly use the following sample for reference, www.syncfusion.com/downloads/support/directtrac/general/ze/pdf_demo_sample_18-1866527290.zip To know more about working with image, kindly refer to help.syncfusion.com/flutter/pdf/working-with-images
@jahangirshah9344
@jahangirshah9344 Год назад
is this syncfusion pdf library is free for use or paid?
@SyncfusionInc
@SyncfusionInc Год назад
Hello Jahangir Shah, Our paid and free versions both have the same features and support. You can check here to see if you qualify for our Community (free) license. It's available for companies with 5 or fewer developers and less than $1 Mil USD in annual revenue. bit.ly/395t17c
@marcoscap447
@marcoscap447 2 года назад
Nice, it's work in flutter web ? Thanks 👍
@SyncfusionInc
@SyncfusionInc 2 года назад
Hi, Thank you for reaching out. Yes, it is supported. Please refer to these links, www.syncfusion.com/kb/11973/how-to-create-a-pdf-file-in-flutter-web-platform help.syncfusion.com/flutter/pdf/getting-started#save-and-download-a-pdf-document-in-web.
@marcoscap447
@marcoscap447 2 года назад
@@SyncfusionInc thanks, it's working
@arinzechukwuhillary0zor644
@arinzechukwuhillary0zor644 3 года назад
please how can i arrange the contents in the file, add font styles and colors
@SyncfusionInc
@SyncfusionInc 3 года назад
Hi Arinzechukwu, Thank you for watching our video. You can refer to the following UG documentation to add different fonts and brushes, help.syncfusion.com/flutter/pdf/working-with-text#drawing-text-in-pdf-document. Also, refer to this link below to arrange the content on the file, help.syncfusion.com/flutter/pdf/working-with-flow-layout. Have a good day!
@allsmiles1334
@allsmiles1334 3 года назад
What would be nice is a package to convert Syncfusions Datagrid, charts and others to pdf
@SyncfusionInc
@SyncfusionInc 3 года назад
Hello, We can look into this and get back to you but response times via our RU-vid videos are slower than our regular support. Have you opened a support ticket or tried our live chat? www.syncfusion.com/support/directtrac/incidents/newincident
@SyncfusionInc
@SyncfusionInc 3 года назад
Please find the samples and feature request details to export PDF support below, Maps: www.syncfusion.com/downloads/support/directtrac/general/ze/maps_to_pdf40664281 Treemap: www.syncfusion.com/downloads/support/directtrac/general/ze/treemap_to_pdf2128023203 Gauges: www.syncfusion.com/downloads/support/directtrac/general/ze/gauges_to_pdf-109697840 Sliders: www.syncfusion.com/downloads/support/directtrac/general/ze/slider_to_pdf-2074197194 SignaturePad: www.syncfusion.com/downloads/support/directtrac/general/ze/signaturepad_to_pdf1169730669 Calendar: www.syncfusion.com/downloads/support/directtrac/general/ze/CalendarTopdf-1487645197.zip Cartesian charts: github.com/syncfusion/flutter-examples/blob/master/lib/samples/chart/cartesian_charts/export.dart Circular charts: github.com/syncfusion/flutter-examples/blob/master/lib/samples/chart/circular_charts/export.dart Spark charts: www.syncfusion.com/downloads/support/directtrac/335506/ze/sparkchart_to_pdf-1928924478 Barcode: www.syncfusion.com/downloads/support/directtrac/335506/ze/barcode_to_pdf1529393884 Currently, DataGrid and XlsIO do not have the support for export the DataGrid and XlsIO to pdf. We have already logged the feature request. And you can find this feature in any of our upcoming releases. You can refer to the below feedback links for further follow-up, DataGrid: www.syncfusion.com/feedback/19786/export-datagrid-content-to-pdf XlsIO: www.syncfusion.com/feedback/26954/convert-excel-documents-to-pdf-in-flutter-xlsio
@aritradendy842
@aritradendy842 Год назад
Good afternoon sir, permission to ask how to make it if we display the qr code, sir?
@SyncfusionInc
@SyncfusionInc Год назад
Hello Aritra, Thank you for reaching out. Please refer to the below link to export a Barcode generator as a pdf. We hope this will help you achieve your requirement. www.syncfusion.com/kb/12915/how-to-export-a-barcode-generator-as-a-pdf-sfbarcodegenerator Follow the below link for more information, help.syncfusion.com/flutter/barcode/getting-started
@AhmedGamal-di7ct
@AhmedGamal-di7ct 2 года назад
i have a list of products , how can i create dynamic table based on products length ,
@SyncfusionInc
@SyncfusionInc 2 года назад
Hello Ahmed, Thank you for reaching out. Please refer to help.syncfusion.com/flutter/pdf/working-with-tables.
@AhmedGamal-di7ct
@AhmedGamal-di7ct 2 года назад
@@SyncfusionInc thank you
@adilmobologics358
@adilmobologics358 2 года назад
is it free for production mode?
@SyncfusionInc
@SyncfusionInc 2 года назад
Hello Adil Mobologics, Our paid and free versions both have the same features and support. You can check here to see if you qualify for our Community (free) license. It's available for companies with 5 or fewer developers and less than $1 Mil USD in annual revenue. bit.ly/395t17c
@reemanfahaad
@reemanfahaad 2 года назад
what if I have specific pdf file that I want to display it? how
@SyncfusionInc
@SyncfusionInc 2 года назад
Hello Reema, Thank you for reaching out. Can you please tell us what do you mean by specific pdf file? Is it single pdf file or picking file from explorer?
@reemanfahaad
@reemanfahaad 2 года назад
@@SyncfusionInc i do have the pdf file in my device i just want to send some data from the flutter application and display it in that pdf file
@reemanfahaad
@reemanfahaad 2 года назад
@@SyncfusionInc did you understand me please
@SyncfusionInc
@SyncfusionInc 2 года назад
Hello Reema, Please refer to this link, www.syncfusion.com/kb/12602/how-to-load-a-pdf-document-from-internal-storage-files-in-syncfusion-flutter-pdf-viewer.
@revansiddu9449
@revansiddu9449 2 года назад
Is this possible to customise the table? Like row span and column span? And it supports multi-language contents?
@SyncfusionInc
@SyncfusionInc 2 года назад
Hi Revan, Thank you for reaching out to us. Yes, you can customize using the following link, help.syncfusion.com/flutter/pdf/working-with-tables#cell-customization-in-pdfgrid You can also draw multi-language text, help.syncfusion.com/flutter/pdf/working-with-text#drawing-text-using-different-fonts
@revansiddu9449
@revansiddu9449 2 года назад
@@SyncfusionInc thank you
@SyncfusionInc
@SyncfusionInc 2 года назад
Hope it helps. Let us know if you have any questions.
@gopalgoyal8203
@gopalgoyal8203 2 года назад
I want the table on the same page. How to achieve that ?
@SyncfusionInc
@SyncfusionInc 2 года назад
Hi Gopal, Thank you for reaching out. Please refer to the following UG Documentations, help.syncfusion.com/flutter/pdf/getting-started#creating-a-simple-pdf-document-with-basic-elements help.syncfusion.com/flutter/pdf/working-with-flow-layout#flow-model-using-pdflayoutresult.
@ssrb2222
@ssrb2222 2 года назад
hi, i have get into this error, the app run the first time to ask the access then it cannot show the pdf also in the logcat have show this oneway function results will be dropped but finished with status OK and parcel size 4 how can i solves this?
@SyncfusionInc
@SyncfusionInc 2 года назад
Hello, We can look into this and get back to you but response times via our RU-vid videos are slower than our regular support. Have you opened a support ticket or tried our live chat? www.syncfusion.com/support/directtrac/incidents/newincident If you have a retail or flat license, you also have access to our support chat.
@SyncfusionInc
@SyncfusionInc 2 года назад
We can draw the text/Images/shapes in a PDF document using the PDF Flutter library. Please refer to the attached sample for drawing an image in a PDF document. Try this sample on your end and let us know the result. Sample: www.syncfusion.com/downloads/support/directtrac/general/ze/imagetopdfsample-2069934582 Please refer to the below link for more information, UG: help.syncfusion.com/flutter/pdf/getting-started KB: www.syncfusion.com/kb/11965/how-to-convert-image-to-pdf-in-syncfusion-flutter-pdf-library
@2LiveGamer
@2LiveGamer Год назад
hey man, i'm programmin in a MacOs, and runnig my code in IOS emulator, when i save the path with ''getApplicationDocumentsDirectory();'' i choose to save the file, because it open an box asking what should do with it, but the file hads nothing, is not even .pdf, trying to get some help but can't found it so thats bring me here, i try with and without ''pdfdocument.dispose''
@SyncfusionInc
@SyncfusionInc Год назад
Hi Bruce Scavelo, We're happy to look at this. For the fastest response to technical questions, we recommend opening a support ticket so we can exchange files and screenshots. www.syncfusion.com/support/directtrac/incidents/newincident We will check on this with our team and post a response but it will take a little time. Thanks for your question!
@SyncfusionInc
@SyncfusionInc Год назад
Hi, Based on the provided code example, we found that the PDF file was being saved without an extension, which was causing the reported issue. We suggest you add the proper extension when writing files. You can refer to the following code example for further details. Future _createPdf() async { PdfDocument pdfdocumento = PdfDocument(); final page = pdfdocumento.pages.add(); page.graphics.drawString( 'Impressão Matricular', PdfStandardFont(PdfFontFamily.helvetica, 35)); List bytes = await pdfdocumento.save(); pdfdocumento.dispose(); pdfSaver(bytes, 'matricula_data.pdf'); } Future pdfSaver(List bytes, String fileName) async { Directory path = await getApplicationDocumentsDirectory(); // function for see directory if android or ios String outputPath = path.path; final file = File('$outputPath/$fileName'); await file.writeAsBytes(bytes, flush: true); OpenFile.open('$outputPath/$fileName'); } } Sample: www.syncfusion.com/downloads/support/directtrac/general/ze/create_pdf_sample-687432817.
@unairobledillosanchez126
@unairobledillosanchez126 Год назад
Is ir recommended por Desktop apps? I think the zoom does not work
@SyncfusionInc
@SyncfusionInc Год назад
Hello, Thank you for reaching out to us. The SfPdfviewer has support for zooming on the desktop platform. Please refer to the following link for more information about the zooming support in the User Guide documentation: pulse.ly/r0emwoxzuz
@priscilamicaellen3344
@priscilamicaellen3344 2 года назад
pode me ajudar, quando eu clico em "Create PDF" não abre nada, não esta puxando, mas tambem não da erro, como posso resolver isso? !!
@SyncfusionInc
@SyncfusionInc 2 года назад
Hi Priscila Micaellen, We're happy to look at this. For the fastest response to technical questions, we recommend opening a support ticket so we can exchange files and screenshots. www.syncfusion.com/support/directtrac/incidents/newincident We will check on this with our team and post a response but it will take a little time. Thanks for your question!
@SyncfusionInc
@SyncfusionInc 2 года назад
We generated the PDF document without any issue. We have attached the sample for your reference in which we are trying to reproduce the reported issue. Please refer to the below sample link. Sample: github.com/SyncfusionExamples/create-a-pdf-document-in-flutter Kindly refer to the below link to get more details, help.syncfusion.com/flutter/pdf/getting-started www.syncfusion.com/kb/11973/how-to-create-a-pdf-file-in-flutter-web-platform www.syncfusion.com/kb/11330/how-to-create-a-pdf-file-in-syncfusion-flutter-pdf-library If still, you are facing the issue, we request you to share the Flutter doctor details, complete code snippet, or modified sample with product version and device details to replicate the reported issue on our end. So that, it will be helpful for us to analyze and assist you further on this.
@KNTithi
@KNTithi 3 года назад
When I am trying to generate pdf from image it shows an error --- (The argument type 'Future' can't be assigned to the parameter type 'List' ). I have done the same code as you done, can you help me ?
@SyncfusionInc
@SyncfusionInc 3 года назад
Hi K. N. Tithi, For the fastest response to technical questions, we recommend using the support chat on our website or opening a ticket so we can exchange files and screenshots. www.syncfusion.com/support/directtrac/incidents/newincident We will check on this with our team and post a response but it will take a little time. Thanks for your question!
@SyncfusionInc
@SyncfusionInc 3 года назад
Unfortunately, the reported issue is not reproduced. So, we have created a sample and shared it for your reference. Kindly refer to this below sample link and modify the same to reproduce the issue. www.syncfusion.com/downloads/support/directtrac/335506/ze/ImageToPdfSample116663407
@pspdito
@pspdito 2 года назад
Hey I have same error did you find a fix?
@SyncfusionInc
@SyncfusionInc Год назад
Hi, Kindly refer to the below sample link. If the issue still persists on your end please open a support ticket and request a web meeting. Sample: www.syncfusion.com/downloads/support/directtrac/general/ze/image_to_pdf_sample1137062712 Note: We work during IST hours.
@vladislavbodrug4548
@vladislavbodrug4548 2 года назад
hi , i cant import open_file because "The plugin `open_file` uses a deprecated version of the Android embedding." is there any solution?
@SyncfusionInc
@SyncfusionInc 2 года назад
Hello, We can look into this and get back to you but response times via our RU-vid videos are slower than our regular support. Have you opened a support ticket or tried our live chat? www.syncfusion.com/support/directtrac/incidents/newincident If you have a retail or flat license, you also have access to our support chat.
@SyncfusionInc
@SyncfusionInc 2 года назад
We can read and draw an image in a PDF document using the PDF Flutter library. We have attached the sample to read a file for your reference. Sample: www.syncfusion.com/downloads/support/directtrac/general/ze/imagetopdfsample-2069934582 Please refer to the below link for more information, UG: help.syncfusion.com/flutter/pdf/getting-started#save-and-open-a-pdf-document-in-mobile Read file: www.syncfusion.com/kb/11961/how-to-read-pdf-file-in-syncfusion-flutter-pdf-library KB: www.syncfusion.com/kb/11965/how-to-convert-image-to-pdf-in-syncfusion-flutter-pdf-library If still, you are facing the issue, we request you to share the Flutter doctor details, complete code snippet, or modified sample with product version and device details to replicate the reported issue on our end. So, it will be helpful for us to analyze and assist you further on this.
@NikhilSharma-qp3fl
@NikhilSharma-qp3fl 2 года назад
How can I retrieve the same data from firebase in form of pdf
@SyncfusionInc
@SyncfusionInc 2 года назад
Hello Nikhil, Thank you for reaching out. Please refer to this KB documentation for retrieving PDF data from firebase, www.syncfusion.com/kb/12757/how-to-load-a-pdf-document-from-firebase-storage-in-syncfusion-flutter-pdfviewer.
@ala_saleh10
@ala_saleh10 7 месяцев назад
thanks
@knockknock4727
@knockknock4727 3 года назад
How can i make this type of calendar Worldtimebuddy with time zone and meeting schedular
@SyncfusionInc
@SyncfusionInc 3 года назад
You can use the startTimeZone and endTimeZone property of the Appointment to schedule an appointment with different time zones. Please find the UG document link to set different time zones in the Flutter Event Calendar. UG link: help.syncfusion.com/flutter/calendar/timezone
@neteshpaudel724
@neteshpaudel724 2 года назад
when I opened the pdf file it shows "cannot display pdf (file_name ) is of invalid format .
@SyncfusionInc
@SyncfusionInc 2 года назад
Hello Netesh, Thank you for reaching out. Please refer to www.syncfusion.com/kb/11330/how-to-create-a-pdf-file-in-syncfusion-flutter-pdf-library and if you still face any issues please contact our support.
@neteshpaudel724
@neteshpaudel724 2 года назад
@@SyncfusionInc Its working fine with texts but when I add images to pdf then it show invalid format .
@SyncfusionInc
@SyncfusionInc 2 года назад
Hello, We can look into this and get back to you but response times via our RU-vid videos are slower than our regular support. Have you opened a support ticket or tried our live chat? www.syncfusion.com/support/directtrac/incidents/newincident You also have access to our support chat if you have a retail or flat license.
@SyncfusionInc
@SyncfusionInc 2 года назад
We can draw JPEG/PNG images in a PDF document using the PDF Flutter library. We can load image data in the PdfBitmap object to draw the images using the drawImage method of the PdfGraphics class. Sample: www.syncfusion.com/downloads/support/directtrac/general/ze/imagetopdfsample-2069934582 Please refer to the below link for more information, UG: help.syncfusion.com/flutter/pdf/working-with-images KB: www.syncfusion.com/kb/11965/how-to-convert-image-to-pdf-in-syncfusion-flutter-pdf-library
@jasontyre5060
@jasontyre5060 3 года назад
This package works fine in Android but I cannot get any part of it to work for iOS. Probably a permissions thing which I cannot figure out.
@SyncfusionInc
@SyncfusionInc 3 года назад
Hello Jason, We can look into this and get back to you but response times via our RU-vid videos are slower than our regular support. Have you opened a support ticket or tried our live chat? www.syncfusion.com/support/directtrac/incidents/newincident Let us know if you have any questions. Thank you.
@SyncfusionInc
@SyncfusionInc 3 года назад
We suspect that the issue occurs due to the path_provider(pub.dev/packages/path_provider) package getExternalStorageDirectory() returns null on the iOS platform. As per the path_provider recent changes(pub.dev/packages/path_provider/changelog#120), this method returns the null value on iOS. So we request you to use the getApplicationDocumentDirectory() instead to overcome this issue. Please kindly try the sample from www.syncfusion.com/kb/11330/how-to-create-a-pdf-file-in-syncfusion-flutter-pdf-library
@jasontyre5060
@jasontyre5060 3 года назад
@@SyncfusionInc I ended up getting it figured out. It was a stupid mistake on my part. It all came down to device storage location and telling flutter where to go depending on if the device was Android or iOS. All good now.
@SyncfusionInc
@SyncfusionInc 3 года назад
Hi Jason, That's great. We are glad to hear everything worked out well.
@evansgitonga3046
@evansgitonga3046 2 года назад
how can I add link that will be clickable after pdf is downloaded
@SyncfusionInc
@SyncfusionInc 2 года назад
Hello Evans, Thank you for watching our video. Please refer to this link, help.syncfusion.com/flutter/pdf/working-with-hyperlinks.
@evansgitonga3046
@evansgitonga3046 2 года назад
@@SyncfusionInc am trying but once I download the pdf the link doesn't work
@SyncfusionInc
@SyncfusionInc 2 года назад
Hello, We can look into this and get back to you but response times via our RU-vid videos are slower than our regular support. Have you opened a support ticket or tried our live chat? www.syncfusion.com/support/directtrac/incidents/newincident If you have a retail or flat license, you also have access to our support chat.
@SyncfusionInc
@SyncfusionInc 2 года назад
We have tried to create a PDF document with hyperlinks using the flutter PDF library, but the added hyperlinks are working properly in the downloaded PDF document. Please refer to the below documentation for more information, help.syncfusion.com/flutter/pdf/working-with-hyperlinks We have attached the output document for your reference, please find the below link www.syncfusion.com/downloads/support/directtrac/general/pd/Hyperlink-21348987 If still, you are facing any issue, we request you to share the sample with the output document, reproducing steps to replicate the issue on our end. So that it will helpful for us.
@ghostbb
@ghostbb Год назад
Why I can't use Arabic language?
@SyncfusionInc
@SyncfusionInc Год назад
Hello, The Syncfusion Flutter PDF allows you to draw right-to-left language (Arabic) text in a PDF document. Please refer to the documentation below: pulse.ly/k4q7ec5xr9
@ravikajan8706
@ravikajan8706 3 года назад
I used SVG Image i got a error like Performing hot reload... Syncing files to device Android SDK built for x86... Reloaded 1 of 1013 libraries in 255ms. E/flutter ( 7788): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: Unsupported operation: Invalid/Unsupported image stream E/flutter ( 7788): #0 PdfBitmap._initialize (package:syncfusion_flutter_pdf/src/pdf/implementation/graphics/images/pdf_bitmap.dart:175:7) E/flutter ( 7788): #1 new PdfBitmap (package:syncfusion_flutter_pdf/src/pdf/implementation/graphics/images/pdf_bitmap.dart:37:5) E/flutter ( 7788): #2 QrItem._createPDF (package:task01/qr_item.dart:47:29) E/flutter ( 7788): E/flutter ( 7788):
@SyncfusionInc
@SyncfusionInc 3 года назад
Hi Ravi, Thank you for watching our video. At present, we support only convert the PNG and JPEG to the PDF document. So svg image is not supported. Could you please find the following link for further details, help.syncfusion.com/flutter/pdf/working-with-images
@lijukjohn5726
@lijukjohn5726 3 года назад
Is this pdf library is paid or free
@SyncfusionInc
@SyncfusionInc 3 года назад
Hello Liju K John, Our paid and free versions both have the same features and support. You can check here to see if you qualify for our Community (free) license. It's available for companies with 5 or fewer developers and less than $1 Mil USD in annual revenue. bit.ly/395t17c
@arifulislamleeton
@arifulislamleeton Год назад
Hi I'm Ariful Islam Leeton I'm software engineer and members of the international organization project mame made in Bhangladesh
@subhanmaulana8135
@subhanmaulana8135 Год назад
😎
@kshitizagnihotri8777
@kshitizagnihotri8777 2 года назад
Hi is it free or paid
@SyncfusionInc
@SyncfusionInc 2 года назад
Hello kshitiz agnihotri, Our paid and free versions both have the same features and support. You can check here to see if you qualify for our Community (free) license. It's available for companies with 5 or fewer developers and less than $1 Mil USD in annual revenue. bit.ly/395t17c
@evansgitonga3046
@evansgitonga3046 2 года назад
Working with image is slow
@SyncfusionInc
@SyncfusionInc 2 года назад
Hello, We can look into this and get back to you but response times via our RU-vid videos are slower than our regular support. Have you opened a support ticket or tried our live chat? www.syncfusion.com/support/directtrac/incidents/newincident You also have access to our support chat if you have a retail or flat license.
@evansgitonga3046
@evansgitonga3046 2 года назад
@@SyncfusionInc The issue is something to deal with assets what about Blob
@SyncfusionInc
@SyncfusionInc 2 года назад
Hello, We can look into this and get back to you but response times via our RU-vid videos are slower than our regular support. Have you opened a support ticket or tried our live chat? www.syncfusion.com/support/directtrac/incidents/newincident If you have a retail or flat license, you also have access to our support chat.
@SyncfusionInc
@SyncfusionInc 2 года назад
We can draw JPEG/PNG images in a PDF document using the PDF Flutter library. We also can load image data in the PdfBitmap object to draw the images using the drawImage method of the PdfGraphics class. Sample: www.syncfusion.com/downloads/support/directtrac/general/ze/imagetopdfsample-2069934582 Please refer to the below link for more information, UG: help.syncfusion.com/flutter/pdf/working-with-images KB: www.syncfusion.com/kb/11965/how-to-convert-image-to-pdf-in-syncfusion-flutter-pdf-library
@SyncfusionInc
@SyncfusionInc 2 года назад
We can draw JPEG/PNG images in a PDF document using the PDF Flutter library. We can load image data in the PdfBitmap object to draw the images using the drawImage method of the PdfGraphics class. Sample: www.syncfusion.com/downloads/support/directtrac/general/ze/imagetopdfsample-2069934582 Please refer to the below link for more information, UG: help.syncfusion.com/flutter/pdf/working-with-images KB: www.syncfusion.com/kb/11965/how-to-convert-image-to-pdf-in-syncfusion-flutter-pdf-library
@d-apps2699
@d-apps2699 3 года назад
I imported the package but I cannot find PdfDocument, it doesnt import..
@SyncfusionInc
@SyncfusionInc 3 года назад
Hi D- Apps, Thank you for watching our video. Could you please send details using the support chat on our website or opening a ticket so we can exchange files and screenshots? www.syncfusion.com/support/directtrac/incidents/newincident
@SyncfusionInc
@SyncfusionInc 3 года назад
The syncfusion_flutter_pdf package has been imported properly on our end without any issues. We have created a sample and attached it for your reference. Sample: www.syncfusion.com/downloads/support/directtrac/329404/ze/pdf_sample-105490095 We request you to provide the following details to validate the issue on our end. It would more helpful for us to analyze further and update you with a prompt solution. Flutter doctor -v details. syncfusion_flutter_pdf package version. You can also refer to our UG and KB documentation for adding the Syncfusion Flutter PDF package. UG: help.syncfusion.com/flutter/pdf/getting-started KB: www.syncfusion.com/kb/11330/how-to-create-a-pdf-file-in-syncfusion-flutter-pdf-library
Далее
Standoff 2 is a true horror! #standoff #horror #meme
00:13
УДОЧКА ЗА 1$ VS 10$ VS 100$!
22:41
Просмотров 364 тыс.
Create an Excel Document in Flutter
7:39
Просмотров 35 тыс.
Flutter Tutorial - Create PDF With Images & Tables
12:27
Top 30 Flutter Tips and Tricks
6:50
Просмотров 554 тыс.
Standoff 2 is a true horror! #standoff #horror #meme
00:13