@utils/src/capture_widget library
Functions
-
captureWidget(
GlobalKey< State< captureKey, BuildContext context, {double quality = 1.0}) → Future<StatefulWidget> >CustomPaint> -
Captures a screenshot of the widget associated with the given
captureKeyand returns a CustomPaint widget of the same displaying the captured image. Thequalityparameter can be used to adjust the quality of the capture (0.0 > quality <= 1.0).