currentRoute property

String? get currentRoute

Implementation

String? get currentRoute => ModalRoute.of(this)?.settings.name;