RebindButton constructor
const
RebindButton({
- Key? key,
- required PlayerInput player,
- required String bindingId,
- void onResult(
- RebindResult result
- TextStyle? style,
- String listeningText = 'Press a key… (Esc cancels)',
- KeyboardCaptureHook? keyboardHook,
Implementation
const RebindButton({
super.key,
required this.player,
required this.bindingId,
this.onResult,
this.style,
this.listeningText = 'Press a key… (Esc cancels)',
this.keyboardHook,
});