optionsBitMask | A bit value where each bit represents the binary state of the corresponding button. |
length | The number of toggle button options. |
Constructs a ToggleButtonGroupState.
The maximum number of toggle button options allowed is 64. Exceeding this number will throw an ArgumentOutOfRangeException.