tab static method
Creates tab binding.
Implementation
static KeyBindings tab({
required void Function() onTab,
String hintLabel = 'Tab',
String hintDescription = 'switch',
}) {
return KeyBindings([
KeyBinding.single(
KeyEventType.tab,
(event) {
onTab();
return KeyActionResult.handled;
},
hintLabel: hintLabel,
hintDescription: hintDescription,
),
]);
}