getCSSBackgroundAttachmentName function
Implementation
String? getCSSBackgroundAttachmentName(CSSBackgroundAttachment? clip) {
if (clip == null) return null;
switch (clip) {
case CSSBackgroundAttachment.scroll:
return 'scroll';
case CSSBackgroundAttachment.fixed:
return 'fixed';
case CSSBackgroundAttachment.local:
return 'local';
default:
return null;
}
}