isPresent property Null safety

bool isPresent

Whether the Route created by present is currently shown.

Returns true after present has been called until the Route completes.

Implementation

bool get isPresent => route != null;