RebindButton constructor

const RebindButton({
  1. Key? key,
  2. required PlayerInput player,
  3. required String bindingId,
  4. void onResult(
    1. RebindResult result
    )?,
  5. TextStyle? style,
  6. String listeningText = 'Press a key… (Esc cancels)',
  7. 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,
});