DevicePreviewPluginWidgetBuilder typedef

DevicePreviewPluginWidgetBuilder = Widget Function(BuildContext context, Map<String, dynamic> data, DevicePreviewPluginDataUpdater updateData)

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

Implementation

typedef DevicePreviewPluginWidgetBuilder = Widget Function(
  BuildContext context,
  Map<String, dynamic> data,
  DevicePreviewPluginDataUpdater updateData,
);