If your app still uses Navigator 1.0, calling Navigator.of(context) over and over gets a bit tiring.
To make your navigation code less verbose, define all the push/pop methods inside a BuildContext extension. ✅
Then, simply call context.push or context.pop as needed. 👇

For more info, read:
Happy coding!





