onCaptureKeyInput property
set
onCaptureKeyInput
(KeyInputCallback? callback)
Takes part in the capture phase of key events, which runs root first
along the path to the primary focus before the key bubbles back out.
Returning true from callback claims the key: nothing deeper sees its
capture phase and nothing bubbles. Null leaves the phase again. A node
made without callbacks, or owned by a native FocusData, can't take part.
Implementation
set onCaptureKeyInput(KeyInputCallback? callback);