clean-code-dev / animated_splash_screen

The easiest way to create your animated splash screen in a fully customizable way.
MIT License
112 stars 24 forks source link

Basic usage with AutoRoute #26

Open ndemari opened 3 years ago

ndemari commented 3 years ago

the 'nextScreen' param expects a 'Widget' while 'context.pushRoute(LoginScreenRoute)' gives a 'Future<Object?>'. How can I resolve this?

ndemari commented 3 years ago

Here is the error recieved when attempting to pass a Widget into the 'nextScreen' param... A page-based route cannot be completed using imperative api, provide a new list without the corresponding Page to Navigator.pages instead.

kururu-abdo commented 2 years ago

same issue @ndemari

jacastaneda commented 2 years ago

Same issue here!

MustafaSheeha commented 7 months ago

same issue ethier