toNamed static method

void toNamed(
  1. String name
)

Implementation

static void toNamed(String name) {
  Navigator.pushNamed(Globals.get(context), name);
}