screenshot_current_widget method
Implementation
@override
Future<Uint8List?> screenshot_current_widget() async {
try {
BuildContext? context = GeneralLibraryAppBaseFlutter
.flutter_repaint_boundery_key.currentContext;
if (context != null) {
try {
return await context.toImagePng();
} catch (e) {}
}
} catch (e) {}
return null;
}