Photo_view: start photo view gallery with specific image ..

Created on 24 Oct 2018  路  2Comments  路  Source: fireslime/photo_view

Photo view gallery always starts from first index. Is there a way to use the gallery widget but start at say 5th image ? An example would be device gallery where we select an image and are able to swipe left right from there .. I tried looking at the code but I'm still wrapping my head around it so thought I'd check first :) Thanks !!

Most helpful comment

You should use PageController and set initialPage for it

All 2 comments

You should use PageController and set initialPage for it

yup, just realised :) . Thanks a lot for the reply .. closing the issue!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

clragon picture clragon  路  8Comments

renancaraujo picture renancaraujo  路  3Comments

barangungor picture barangungor  路  7Comments

vanelizarov picture vanelizarov  路  7Comments

Creolophus picture Creolophus  路  4Comments