push method

dynamic push(
  1. String name, [
  2. Object? args
])

Implementation

push(String name, [Object? args]) => Navigator.of(this).pushNamed(name, arguments: args);