DevicePreviewPlugin constructor

const DevicePreviewPlugin({
  1. required String identifier,
  2. required String name,
  3. required IconData icon,
  4. Size windowSize = const Size(280, 300),
  5. DevicePreviewPluginWidgetBuilder? builder,
})

Create a new plugin definition.

Implementation

const DevicePreviewPlugin({
  required this.identifier,
  required this.name,
  required this.icon,
  this.windowSize = const Size(280, 300),
  this.builder,
});