usesRouter property

bool get usesRouter

Whether the app uses the Router API for navigation.

Implementation

bool get usesRouter =>
    widget.routerDelegate != null || widget.routerConfig != null;