initialKey property

String? initialKey
final

The mode to select initially (a key of configs). null or an unknown key falls back to the first declared mode. Lets a caller that knows more than this widget (e.g. the solo picker, which inspects the bot catalog) open it in a mode that actually has opponents, without coupling this widget to bots.

Implementation

final String? initialKey;