model_viewer.dart icon indicating copy to clipboard operation
model_viewer.dart copied to clipboard

ADD A CUSTOM PROGRESS BAR

Open seel-channel opened this issue 5 years ago • 1 comments

I want to show a CustomProgressBar but the ModelViewer arguments don't have onPageStarted and onPageFinished. Please add the arguments :+1:

seel-channel avatar Oct 09 '20 06:10 seel-channel

Hi @seel-channel I created a pr with the requested requirement. There is a callback function final VoidCallback onModelIsVisisble; which is invoked when the model has loaded and is also visible, see: https://modelviewer.dev/docs/#entrydocs-loading-events-modelVisibility

KevinRohn avatar Jan 16 '21 19:01 KevinRohn