introduction_screen icon indicating copy to clipboard operation
introduction_screen copied to clipboard

'firstIndex == 0 || childScrollOffset(firstChild!)! - scrollOffset <= precisionErrorTolerance': is not true

Open zeddyyz opened this issue 4 years ago • 4 comments

Screen Shot 2021-12-20 at 1 13 39 AM

Exception occurs on the last page, either via scrolling or clicking the "Next" button.

I've copied the code from "Example" tab on pub.dev, made a few modifications (removed last 3 PageViewModel() from within "pages: []", changed the text and images. Everything loads fine, including the last page. Once the last page loads and is displayed, then the exception is thrown.

Any help would be appareciated.

zeddyyz avatar Dec 20 '21 06:12 zeddyyz

Our app throws the same error, though it is much less consistent in our case.

It happens on screen index 3 (total of 5 screens, 0..4), so the second to last screen, but only every 10th or so time.

I know this isn't much to go on, just wanted to let you know it not only happens on the last screen.

cybrox avatar Jan 14 '22 09:01 cybrox

Hi, it's weird, have you find a solution ?

Pyozer avatar Jan 19 '22 23:01 Pyozer

Sadly not yet, no.

@zeddyyz May I ask, what type of widget are you passing as image for PageViewModel on your last screen that causes issues?

I'm not sure if there's any connection but in our app, the screen causing the issue is the only one that does not use a simple SvgPicture.asset as image.

cybrox avatar Jan 20 '22 14:01 cybrox

Has anyone found a solution, can I ignore it though?

KDVan avatar Apr 13 '22 10:04 KDVan

Hi all,

Closing this as it's not had any activity. Please re-open if you would like help.

Thanks, Gavin.

ghenry avatar Nov 23 '22 17:11 ghenry