Closed orgio closed 4 years ago
it takes 3 second which is my animation duration
That is the correct behavior :) if your animation is more than until it wait until the end of animation, if not the animation is looping until "until" is done
thank you so much there is one more thing Navigator is not working inside MaterialApp do you know any solution?
hum not sure I understand correctly do you have an example of the problem ?
Ho I see ! that's normal, if you want this to work you need to wrap SplashScreen with a Builder
widget, then it should work.
Cheers
thank you so much nice guy
SplashScreen.navigate( name: "assets/splash.flr", next:(_)=>MyHomePage(color,json) , until: ()=>Future.delayed(Duration(seconds: 1)), fit: BoxFit.cover, startAnimation: "intro", )