EmbeddedSchematicViewer constructor

  1. @Deprecated('Use EmbeddedSchematicViewer.fromJson, fromNetlistMap, fromHierarchy, ' 'or fromAsset.')
const EmbeddedSchematicViewer({
  1. Key? key,
  2. String? assetPath,
  3. String? schematicJson,
  4. Map<String, dynamic>? netlistJsonMap,
  5. SchematicThemeMode? themeMode,
  6. SchematicThemeMode? initialThemeMode,
  7. HierarchyService? externalHierarchy,
  8. ValueChanged<HierarchyOccurrence?>? onModuleSelected,
  9. HierarchyOccurrence? selectedModule,
  10. bool isVisible = true,
  11. ({bool computed, String signalId, String value})? signalValueLookupFn(
    1. String wireName
    )?,
  12. Future<Map<String, dynamic>?> fetchModuleNetlist(
    1. String definitionName
    )?,
  13. ValueChanged<Map<String, dynamic>>? onNetlistEnriched,
  14. void onSendSignals(
    1. List<String> signalPaths
    )?,
  15. bool hasExternalSignalListeners = false,
  16. GoToSourceCallback? onGoToSourceCallback,
  17. ValueNotifier<List<String>?>? incomingSignalPaths,
  18. CrossProbeService? crossProbeService,
  19. RohdExtensionClient? extensionClient,
  20. SchematicExpansionMode? expansionMode,
  21. SchematicExpansionMode initialExpansionMode = SchematicExpansionMode.defaultView,
})

Constructor for EmbeddedSchematicViewer.

Implementation

@Deprecated(
  'Use EmbeddedSchematicViewer.fromJson, fromNetlistMap, fromHierarchy, '
  'or fromAsset.',
)
const EmbeddedSchematicViewer({
  super.key,
  this.assetPath,
  this.schematicJson,
  this.netlistJsonMap,
  this.themeMode,
  this.initialThemeMode,
  this.externalHierarchy,
  this.onModuleSelected,
  this.selectedModule,
  this.isVisible = true,
  this.signalValueLookupFn,
  this.fetchModuleNetlist,
  this.onNetlistEnriched,
  this.onSendSignals,
  this.hasExternalSignalListeners = false,
  this.onGoToSourceCallback,
  this.incomingSignalPaths,
  this.crossProbeService,
  this.extensionClient,
  this.expansionMode,
  this.initialExpansionMode = SchematicExpansionMode.defaultView,
});