tristate property
bool
get
tristate
Whether the checkbox supports a tri-state (null) value.
Implementation
bool get tristate => _tristate;
set
tristate
(bool v)
Sets the tristate flag and invalidates the paint cache.
Implementation
set tristate(bool v) {
if (_tristate == v) return;
_tristate = v;
_invalidateCache();
markNeedsPaint();
}