focus property

FocusScopeNode get focus

Returns the nearest FocusScopeNode instance for the current context.

Example usage:

context.focus.requestFocus();

Implementation

FocusScopeNode get focus => FocusScope.of(this);