onExpand property

VoidCallback? onExpand
final

The handler for SemanticsAction.expand.

This is a request to expand the currently focused node. For example, this action might be recognized by a dropdown.

This handler should only be set when the node is in a collapsed state (i.e., expanded is false).

Implementation

final VoidCallback? onExpand;