GalacticHotkeys<T> constructor

const GalacticHotkeys<T>({
  1. Key? key,
  2. required Widget child,
  3. required GroupsShortcuts<T> shortcuts,
  4. FocusScopeNode? focusScopeNode,
  5. required ShortcutPressed<T> onShortcutPressed,
})

Creates a new instance of the widget using a child.

Implementation

const GalacticHotkeys({
  super.key,
  required Widget this.child,
  required this.shortcuts,
  this.focusScopeNode,
  required ShortcutPressed<T> this.onShortcutPressed,
}) : builder = null;