Simplify your Flutter app's navigation code by defining push and pop methods inside a BuildContext extension. This allows you to use context.push or context.pop instead of repeatedly calling Navigator.of(context).
Sort: