singleConfig property

StateProvider<GameConfig> singleConfig
final

Allows one config to write all players' configs

Implementation

static final singleConfig = StateProvider<GameConfig>(
  (ref) => const GameConfig(gameType: ''),
  name: 'SingleGameConfig',
);