overlayKey property

GlobalKey<OverlayState> overlayKey
final

The overlay above rootKey, for things drawn over the app that stay out of captures, like a playbook's finger and captions.

Implementation

static final GlobalKey<OverlayState> overlayKey = GlobalKey<OverlayState>(
  debugLabel: 'Screenshot.overlay',
);