GalacticHotkeysBuilder constructor

const GalacticHotkeysBuilder({
  1. Key? key,
  2. required Widget builder(
    1. BuildContext context,
    2. List<LogicalKeyboardKey> pressedKeys
    ),
})

Creates a GalacticHotkeysBuilder with the specified builder function.

The builder function is invoked with the current BuildContext and a list of LogicalKeyboardKeys representing the currently pressed keys.

Implementation

const GalacticHotkeysBuilder({
  super.key,
  required this.builder,
});