I have been scouring the web for a while about this, and have yet to find anything that works well.
I am building a flutter application that requires an “e-reader”-esque widget. This should be able to accept a looooooooooong text object, with potential paragraph indentations in the form of \n, and then have a horizontal pageview where the text that doesn’t fit in each page overflows to the next page.
So far I have tried pageview.builder where you (very slowly) add one word at a time, determine the height of the text object, and then either add another word or move to the next page if it does not fit in the viewport height. I have also tried a similar method with entire paragraphs, and a solution involving multiple locked listviews where the text scrolls equal to the viewport height whenever you swipe.
None of these implementations work particularly well, and all of them feel over-complicated.
Is there a good way of accomplishing this that anyone recommends?