CSSBackground.url constructor

CSSBackground.url(
  1. CSSURL url, {
  2. CSSBackgroundBox? origin,
  3. CSSBackgroundBox? clip,
  4. CSSBackgroundAttachment? attachment,
  5. CSSBackgroundRepeat? repeat,
  6. String? position,
  7. String? size,
  8. CSSColor? color,
})

Implementation

CSSBackground.url(CSSURL url,
    {CSSBackgroundBox? origin,
    CSSBackgroundBox? clip,
    CSSBackgroundAttachment? attachment,
    CSSBackgroundRepeat? repeat,
    String? position,
    String? size,
    this.color})
    : _images = [
        CSSBackgroundImage.url(url,
            origin: origin,
            clip: clip,
            attachment: attachment,
            repeat: repeat,
            position: position,
            size: size)
      ];