playerIDProvider top-level property

Provider<PlayerID> playerIDProvider
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

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