navigator property

NavigatorState get navigator

Gets the NavigatorState for this context.

Equivalent to calling Navigator.of(this).

Implementation

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