Styles.background constructor

const Styles.background({
  1. Color? color,
  2. BackgroundAttachment? attachment,
  3. BackgroundClip? clip,
  4. ImageStyle? image,
  5. BackgroundOrigin? origin,
  6. BackgroundPosition? position,
  7. BackgroundRepeat? repeat,
  8. BackgroundSize? size,
})

Constructs a Styles instance for common background style properties.

Implementation

const factory Styles.background({
  Color? color,
  BackgroundAttachment? attachment,
  BackgroundClip? clip,
  ImageStyle? image,
  BackgroundOrigin? origin,
  BackgroundPosition? position,
  BackgroundRepeat? repeat,
  BackgroundSize? size,
}) = _BackgroundStyles;