captureScreenShot method
Implementation
Future<Uint8List> captureScreenShot() async {
if(_captureScreenShot == null) throw Exception("ScreenShotController is not wrapped inside ScreenShotWidget. Make sure to wrap inside the ScreenShotWidget.");
return await _captureScreenShot!();
}