addListenerCapture method
Future<Uint8List?>
addListenerCapture(
- VoidCallback callback, {
- double? pixelRatio,
- Duration delay = const Duration(milliseconds: 20),
Implementation
Future<Uint8List?> addListenerCapture(
VoidCallback callback, {
double? pixelRatio,
Duration delay = const Duration(milliseconds: 20),
}) {
onCallbacks.add(callback);
return screenshotController.capture(pixelRatio: pixelRatio, delay: delay);
}