SchematicCanvas constructor
- required SchematicLayoutResult layout,
- Key? key,
- String? netlistJson,
- HierarchyService? externalHierarchy,
- SchematicColorScheme colorScheme = SchematicColorScheme.dark,
- Future<
SchematicLayoutResult?> onNodeToggle(- String nodeId
- Future<
SchematicLayoutResult?> onPortExpand()?, - Future<
SchematicLayoutResult?> onPortExpandThrough()?, - Future<
SchematicLayoutResult?> onPortCollapse()?, - Future<
SchematicLayoutResult?> onPortCollapseThrough()?, - Future<
SchematicLayoutResult?> onCollapsePartial(- String nodeId
- Future<
SchematicLayoutResult?> onExpandNonPrimitives(- String nodeId
- Future<
SchematicLayoutResult?> onConvertToBlocksOnly(- String nodeId
- Future<
SchematicLayoutResult?> onNodeToggleRecursive(- String nodeId
- Future<
SchematicLayoutResult?> onExpandNonPrimitivesRecursive(- String nodeId
- Future<
SchematicLayoutResult?> onConvertToBlocksOnlyRecursive(- String nodeId
- Future<
SchematicLayoutResult?> onExpandWire()?, - Future<
SchematicLayoutResult?> onExpandChild()?, - Future<
SchematicLayoutResult?> onExpandPath(})?, - String? pendingToggleNodeId,
- String? recentlyToggledNodeId,
- bool isDimmed = false,
- ({bool computed, String signalId, String value})? signalValueLookup(
- String wireName
- String? signalNameForPort()?,
- String? focusPortId,
- void onSendSignals()?,
- String? directDriverSignalPath()?,
- bool hasExternalSignalListeners = true,
- GoToSourceCallback? onGoToSource,
- AvailableSourceFormats? availableSourceFormats,
- ValueNotifier<
List< ? incomingSignalPaths,String> ?>
Creates a schematic canvas widget.
Implementation
const SchematicCanvas({
required this.layout,
super.key,
this.netlistJson,
this.externalHierarchy,
this.colorScheme = SchematicColorScheme.dark,
this.onNodeToggle,
this.onPortExpand,
this.onPortExpandThrough,
this.onPortCollapse,
this.onPortCollapseThrough,
this.onCollapsePartial,
this.onExpandNonPrimitives,
this.onConvertToBlocksOnly,
this.onNodeToggleRecursive,
this.onExpandNonPrimitivesRecursive,
this.onConvertToBlocksOnlyRecursive,
this.onExpandWire,
this.onExpandChild,
this.onExpandPath,
this.pendingToggleNodeId,
this.recentlyToggledNodeId,
this.isDimmed = false,
this.signalValueLookup,
this.signalNameForPort,
this.focusPortId,
this.onSendSignals,
this.directDriverSignalPath,
this.hasExternalSignalListeners = true,
this.onGoToSource,
this.availableSourceFormats,
this.incomingSignalPaths,
});