isFocused property

bool isFocused
final

True if this node is selected AND the tree has input focus.

Use this to draw a different background or border to indicate active focus.

Implementation

final bool isFocused;