playerID property

Provider<PlayerID> playerID
final

Provides the player id for a particular section of the widget tree

This is so that a multiplayer game within the same app can be played

Implementation

static final playerID = Provider<PlayerID>(
  (ref) => '',
  name: 'PlayerID',
);