How I can display pages from an epub file on flutter?
I add the book but I don't know how to display it in my app
anyone can help me?
most likely you will need a package for this... try using: https://pub.dev/packages/epub
Related
I find it difficult to customize the UI of the file picker. I want to implement a picker with my own new UI rather than a native picker. What should I do?
waiting for a good answer!
I'm not good at English, so I got help from a translator. thank you for reading.
https://github.com/fluttercandies/flutter_wechat_assets_picker
Is it possible to customize with this plugin?
You can use the photo_manager plugin to get all the photos and make your own file picker, but there is no way to modify the file_picker ui as it calls native file pickers directly.
you can use file_manager plugin it support android and linux by the time this answer was written .
My developer is building an educational app for me and we kind of have a problem. I want to know how to tap a word or phrase on the screen to show copy, highlight, web search like the image below. The app was built with flutter and the code is in dart. This feature is really needed. Will appreciate if someone can help with a plugin or just a way to do this.
If you are using webview package you have a gestureRecognizers property in webview widget, just add this line:
WebViewPlus(
gestureRecognizers: {}..add(Factory<LongPressGestureRecognizer>(() =>
LongPressGestureRecognizer())),...)
Flutter has selectable text for that
If he is using webview, maybe this could help?
How to enable text selection modal(copy/paste/select) in flutter webview?
They is a package for copy and paste text in the flutter.
FlutterClipboard.copy(item.code).then((value) {})
package link
Well I got your problem.
There is a possible solution. Here you are doing is sending data from server in html format and displayed it using html_viwer. But there is no functionality I found to select and copy so far.
The possible solution is send string data from server and use SelectableText() to show the text and you will be able to select and copy your text.
There's a solution for this, just use SelectableHtml widget instead of only Html
How to create PDF file and display as per our design.
customize PDF layout and add image and table create in PDF file.
i have send image this type i want to create pdf file .
Here is plugin called pdfmake. It will help you to create pdf of images. You can customise many of things for creating pdf like page size, table, fonts etc.
Following are some of the tutorial which will help you to guide :
https://medium.com/#rakeshuce1990/ionic-how-to-create-pdf-file-with-pdfmake-step-by-step-75b25aa541a4
https://ionicacademy.com/create-pdf-files-ionic-pdfmake/
I have used it in my project to creating pdf of images and working properly, so may it will help you.
Is there any way to get text position for mark up and make note on ePub file ? I want to put highlight and add note feature on ePub file.
I am referring https://github.com/fedefrappi/AePubReader as a basic start. This code already facilitates searching and font size varying feature.
Please suggest me anyway to achieve my requirement with this library.
Thanks in advance.
I need to generate a PDF file on click of a button that pdf should takes the contents from database and I have to view my generated PDF file once its generated how can I do this? can anyone guide me to some good material for this? Thanks in advance.
You should start from iOS Developer Library:
PDF Document Creation, Viewing, and Transforming