translateX property Null safety

double translateX

Implementation

double get translateX => _translateX;
void translateX=(double translateX)

Implementation

set translateX(double translateX) {
  widget.onScroll?.call(translateX / maxDragDistance * -1);
  _translateX = translateX;
}