introduction_screen icon indicating copy to clipboard operation
introduction_screen copied to clipboard

PageController.page cannot be accessed before a PageView is built with it.

Open Obada2020 opened this issue 2 years ago • 5 comments

Unhandled Exception: 'package:flutter/src/widgets/page_view.dart': Failed assertion: line 170 pos 7: 'positions.isNotEmpty': PageController.page cannot be accessed before a PageView is built with it.

Obada2020 avatar Oct 22 '23 16:10 Obada2020

I experienced it too.

SupianIDz avatar Dec 15 '23 21:12 SupianIDz

Getting the same error.

Unhandled Exception: 'package:flutter/src/widgets/page_view.dart': Failed assertion: line 170 pos 7: 'positions.isNotEmpty': PageController.page cannot be accessed before a PageView is built with it.

Also, this exception appears only when I press the "Skip" button. Does not occur when "Done" is pressed.

syedarsalankazmi avatar Jan 16 '24 16:01 syedarsalankazmi

Same error here

fedejuret avatar Jan 25 '24 23:01 fedejuret

I am getting this error on skip and done.

domgolonka avatar Jan 26 '24 00:01 domgolonka

I am getting this error on skip and done.

I managed to "solve it" by eliminating autoplay. That the user has to tap on "next". And I also had to remove the "skip" button.

fedejuret avatar Jan 26 '24 16:01 fedejuret

New version 3.1.13 fix that issue.

Pyozer avatar Mar 23 '24 16:03 Pyozer