repaintBoundaryKey property
GlobalKey<State<StatefulWidget> >
repaintBoundaryKey
You need to provide a key that the RepaintBoundary can use so you can access it from the renderImage method.
Implementation
GlobalKey get repaintBoundaryKey;