LevelSelectGrid constructor

const LevelSelectGrid({
  1. Key? key,
  2. required List<LevelState> states,
  3. Map<int, int> starsEarnedByLevel = const {},
  4. ValueChanged<int>? onLevelTap,
  5. int crossAxisCount = 4,
  6. double nodeSize = 64,
  7. double spacing = NeonTheme.s16,
})

Implementation

const LevelSelectGrid({
  super.key,
  required this.states,
  this.starsEarnedByLevel = const {},
  this.onLevelTap,
  this.crossAxisCount = 4,
  this.nodeSize = 64,
  this.spacing = NeonTheme.s16,
});