CustomGameWidget<T extends Game> constructor

const CustomGameWidget<T extends Game>({
  1. Key? key,
  2. required T game,
  3. Map<String, OverlayWidgetBuilder<T>>? overlayBuilderMap,
  4. List<String>? initialActiveOverlays,
})

Implementation

const CustomGameWidget({
  Key? key,
  required this.game,
  this.overlayBuilderMap,
  this.initialActiveOverlays,
}) : super(key: key);