BaseLayerPosition constructor

BaseLayerPosition({
  1. dynamic offsetX,
  2. dynamic offsetY,
  3. Gravity? gravity,
})

Implementation

BaseLayerPosition({dynamic offsetX, dynamic offsetY, Gravity? gravity}) {
  _offsetX = offsetX;
  _offsetY = offsetY;
  _gravity = gravity;
}