goNamed function

dynamic goNamed(
  1. dynamic context,
  2. dynamic page
)

Implementation

goNamed(context, page) {
  Navigator.pushNamed(context, page);
}