buildData method

  1. @override
Widget buildData(
  1. BuildContext context,
  2. Map<String, dynamic> data,
  3. DevicePreviewPluginDataUpdater updateData
)
override

Build the window content with the given plugin's data and the updateData method that saves new data and triggers a new build.

Implementation

@override
Widget buildData(
  BuildContext context,
  Map<String, dynamic> data,
  updateData,
) {
  return _Screenshot(
    processor: processor,
  );
}