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