xOffset property

double xOffset

Implementation

double get xOffset => _getAttribute<double>(kXOffset, 0);
void xOffset=(double? x)

The percentage of the document's width the zoomed document should be offset by horizontally.

pass null to remove key from attributes

Implementation

set xOffset(double? x) =>
    (x == null) ? _attributes.remove(kXOffset) : _attributes[kXOffset] = x;