rootKey property

GlobalKey<State<StatefulWidget>> rootKey
final

The boundary around the app's screen, which NyApp places in its MaterialApp.builder through ScreenshotRoot.

Implementation

static final GlobalKey rootKey = GlobalKey(debugLabel: 'Screenshot.root');