After Latest Flutter Upgrade - Project is not building
You need to check the name of the parameters set on the constructor as mentioned in the error: Found this candidate, but the arguments don't match. CupertinoFullscreenDialogTransition
The error points to this parameter: Error: No named parameter with the name 'animation'.
Checking the docs for CupertinoFullscreenDialogTransition, the constructor requires primaryRouteAnimation
and secondaryRouteAnimation
.