getAllWidgetDetails method
List<Map<String, dynamic> >
getAllWidgetDetails(
- GlobalKey<
State< key,StatefulWidget> > - BuildContext context,
- num xFactor,
- num yFactor,
Implementation
List<Map<String, dynamic>> getAllWidgetDetails(
GlobalKey key,
BuildContext context,
num xFactor,
num yFactor,
) {
print("screenShot started 3");
Map<String, dynamic> widgetDetails = {};
widgetDetails.addAll(WidgetDetailsService.getWidgetDetails());
extractDetails(
key.currentContext ?? context,
widgetDetails,
xFactor,
yFactor,
);
return List<Map<String, dynamic>>.from(widgetDetails.values.toList());
}