backgroundPositionX property

  1. @override
CSSBackgroundPosition get backgroundPositionX
override

Background-position-x

Implementation

@override
CSSBackgroundPosition get backgroundPositionX => _backgroundPositionX ?? DEFAULT_BACKGROUND_POSITION;
set backgroundPositionX (CSSBackgroundPosition? value)

Implementation

set backgroundPositionX(CSSBackgroundPosition? value) {
  if (value == _backgroundPositionX) return;
  _backgroundPositionX = value;
  renderBoxModel?.markNeedsPaint();
}