currentAnchorKey property
String?
get
currentAnchorKey
The anchorKey of the step currently on screen, or null when no guide is
showing. Lets a DigiaAnchor tell whether it hosts the visible step as it
leaves the tree, so navigating off that screen can tear the guide down.
Implementation
String? get currentAnchorKey =>
(_currentShownIndex >= 0 && _currentShownIndex < _activeAnchorKeys.length)
? _activeAnchorKeys[_currentShownIndex]
: null;