onNodeToggle property
final
Callback when a node with children is tapped to expand/collapse. Returns a Future with the updated layout model.
Implementation
final Future<SchematicLayoutResult?> Function(String nodeId)? onNodeToggle;
Callback when a node with children is tapped to expand/collapse. Returns a Future with the updated layout model.
final Future<SchematicLayoutResult?> Function(String nodeId)? onNodeToggle;