The mask is created by shifting 1 by the index of the specific PerformanceOverlayOption to enable.
Source
int get optionsMask => _optionsMask;
Source
set optionsMask(int mask) {
assert(mask != null);
if (mask == _optionsMask)
return;
_optionsMask = mask;
markNeedsPaint();
}