onExpandPath property

Future<SchematicLayoutResult?> Function(List<String> pathSegments, {String? targetWireName})? onExpandPath
final

Batch-expand an entire hierarchy path in a single layout cycle.

pathSegments are instance names from top to bottom. If targetWireName is non-null the last segment is treated as the container of that wire; otherwise it is the target module.

Implementation

final Future<SchematicLayoutResult?> Function(
  List<String> pathSegments, {
  String? targetWireName,
})? onExpandPath;