By the way, give this Md2All a thumbs up.
preface
If you want to build your own, it is recommended that the flutter environment use the latest stable (I am currently using stable 1.12.13+hotfix.5). Since the project uses a relatively new technology, an older version of the environment should report an error because it cannot find classes or methods.
In addition… Ios because there is no device, so do not know whether the specific normal, reasonable should have no problem. Plugin, the code block is also the basic flutter code. Should there be nothing special about the flutter code …………
I am also constantly exploring and learning about FLUTTER, so please do not hesitate to mention the issue or PR for errors or low performance in this project.
In short, welcome pr, fork, star, or meaningful comments or suggestions in the Issue section.
By the way:
Multi-graph traffic warning!
The effect
Performance Overlay page is now open on the Reading page to show Performance optimization results.
Search page:
Details page:
Read page:
Summary of core technical points (not UI)
Overall structure:
- Provider-based implementation of MVVM thought template framework
Library page
- Database sqflite is used
Search page
- A small use of RXDART
Details Page
- Collapsible expanded text
- Theme color comes with the picture
Reading Page (Core)
- The use of textPainter in Flutter, including drawing, measurement, etc.
- Use of Canvas.
- Three kinds of page turning animation (left and right simulation page turning, up and down slide page turning, cover page turning).
- Offline caching
- SharedPreference, screen brightness and other user Settings.
- A small application of Stream
- Some uses of the coroutine in DART and the ISOLATE of FLUTTER
- An ultra-low coupling listView jump by index
Milestones (tentative)
Unrealized parts:
- list
- A book review
- download
- Local book import, wifi book transfer and other ways to import books
- Data in non-TXT format is supported
- Page capture processing parsing (used to parse pages rather than books retrieved by interfaces)
- Volume button to turn pages
- Language reading, automatic page turning
Special thanks to
Flutter_app (interface and introduction page from this project) BookPage(implementation ideas for reading page from this project)