currentLabel property

String? get currentLabel

Label of the current drill-down level (topmost history entry).

Implementation

String? get currentLabel => _history.isNotEmpty ? _history.last.label : null;