In my App I don't use the 'routes' or 'onGenerateRoute' parameter. I only do Routing with Navigator.push(). I can show the ModalSheet but it does not animate the previous route behind the new one.
How can I change that without adding 'routes' or 'onGenerateRoute' in my MaterialApp()?
In my App I don't use the 'routes' or 'onGenerateRoute' parameter. I only do Routing with
Navigator.push()
. I can show the ModalSheet but it does not animate the previous route behind the new one.How can I change that without adding 'routes' or 'onGenerateRoute' in my MaterialApp()?
Best regards