completed method
Completes showcase of given key and starts next one otherwise will finish the entire showcase view
Implementation
void completed(GlobalKey? key) {
if (ids != null && ids![activeWidgetId!] == key && mounted) {
setState(() {
_onComplete();
activeWidgetId = activeWidgetId! + 1;
_onStart();
if (activeWidgetId! >= ids!.length) {
_cleanupAfterSteps();
if (widget.onFinish != null) {
widget.onFinish!();
}
}
});
}
}