showAnchoredHelper method
This shows an AnchoredHelper above your page as overlay
requires anchorKeyId
that must have been generated within a widget using
HelperOrchestrator.of(context).generateKey('myKeyId')
Implementation
Future showAnchoredHelper(String anchorKeyId, AnchoredHelper helper) async {
final anchor = await findAnchor(anchorKeyId);
if (anchor == null) {
debugPrint("anchor cannot be found. show anchored failed");
return;
}
_overlayHelper.showHelper(
context,
(context) => AnchorHelperWrapper(
anchor: anchor,
child: helper,
),
);
}