nextAndRemoveUntilPage method
Removing all the widgets till defined rule, and pushes the built widget to the screen using the material fade in animation
Implementation
void nextAndRemoveUntilPage(Widget page) =>
_nextAndRemoveUntilPage(context: this, page: page);