Different states of the focus system.
These are the detailed states used by the Focus Nodes.
If you need higher level states, eg Focused or
NotFocused, use the states in FocusState.
Active: The focusable component is currently active (i.e. it receives key events).
ActiveParent : One of the descendants of the focusable component is Active.
Captured: The focusable component is currently active (has focus), and is in a state where
it does not want to give up focus. (Eg. a text field with an invalid phone number).
Disabled: The focusable component is not currently focusable. (eg. A disabled button).
Inactive: The focusable component does not receive any key events. (ie it is not active,
nor are any of its descendants active).
TODO(b/160822875): Deprecate this after the new Modifier.Focus is ready for consumption.