@utils/src/capture_widget library

Functions

captureWidget(GlobalKey<State<StatefulWidget>> captureKey) Future<CustomPaint>
Captures a screenshot of the widget associated with the given captureKey and returns a CustomPaint widget of the same displaying the captured image.