RawKeyboardListener constructor
- @Deprecated('Use KeyboardListener instead. ' 'This feature was deprecated after v3.18.0-2.0.pre.')
- Key? key,
- required FocusNode focusNode,
- bool autofocus = false,
- bool includeSemantics = true,
- ValueChanged<
RawKeyEvent> ? onKey, - required Widget child,
Creates a widget that receives raw keyboard events.
For text entry, consider using a EditableText, which integrates with on-screen keyboards and input method editors (IMEs).
Implementation
@Deprecated(
'Use KeyboardListener instead. '
'This feature was deprecated after v3.18.0-2.0.pre.',
)
const RawKeyboardListener({
super.key,
required this.focusNode,
this.autofocus = false,
this.includeSemantics = true,
this.onKey,
required this.child,
});