prepare method
Implementation
prepare(List<GuideItem> guiderWidgetList) async {
_overlayDescArray.clear();
for (GuideItem item in guiderWidgetList) {
assert(item.toGuideKey != null || item.toGuideRect != null,
"Either 'toGuideKey' or 'toGuideRect' must be provided. Neither can be null.");
if (item.id != null) {
bool shouldShow = await _shouldShowGuide(item);
if (!shouldShow) {
continue;
}
}
if (item.toGuideKey is GlobalKey) {
_assembleLTRBFromKey(item);
}
if (item.toGuideRect != null) {
_assembleLTRBFromRect(item);
}
}
}