scale method
Returns a scaled copy with borderRadius multiplied by factor.
Identity: scale(1.0) returns this.
Implementation
FolderViewNodeStyleTheme scale(double factor) {
assert(factor > 0, 'scale factor must be > 0, got $factor');
if (factor == 1.0) return this;
return copyWith(borderRadius: borderRadius * factor);
}