CssBackgroundSize.size constructor

CssBackgroundSize.size(
  1. CssLength width, [
  2. CssLength? height
])

Creates a background size with width and optional height. If height is omitted, it defaults to auto.

Implementation

factory CssBackgroundSize.size(CssLength width, [CssLength? height]) =
    _CssBackgroundSizeDimensions;