navigator property

NavigatorState navigator

shortcut for Navigator.of(context)

Implementation

NavigatorState get navigator => Navigator.of(this);