BuildContext is required to perform a transition
using the animation type to animate the child into a new route.
replacement will remove all the stack of pages into a new route
Invoked when a non-existent method or property is accessed.
A string representation of this object.