BackgroundPosition constructor

const BackgroundPosition({
  1. BackgroundAlignX? alignX,
  2. BackgroundAlignY? alignY,
  3. Unit? offsetX,
  4. Unit? offsetY,
})

Construct a background position from optional alignments and offsets.

Implementation

const factory BackgroundPosition({BackgroundAlignX? alignX, BackgroundAlignY? alignY, Unit? offsetX, Unit? offsetY}) =
    _BackgroundPosition;