getCSSBackgroundBoxName function
Implementation
String? getCSSBackgroundBoxName(CSSBackgroundBox? clip) {
if (clip == null) return null;
switch (clip) {
case CSSBackgroundBox.borderBox:
return 'border-box';
case CSSBackgroundBox.paddingBox:
return 'padding-box';
case CSSBackgroundBox.contentBox:
return 'content-box';
}
}