contentWidth property

int get contentWidth

The total width of the checkbox content (prefix + label).

Implementation

int get contentWidth => prefixCheckboxLength + component.label.length;