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