applyPaintTransform method

  1. @override
void applyPaintTransform (
  1. covariant RenderBox child,
  2. Matrix4 transform
)
override

This returns the matrices relative to the untransformed plane's viewport painting coordinates system.

Implementation

@override
void applyPaintTransform(RenderBox child, Matrix4 transform) {
  final ListWheelParentData parentData = child?.parentData as ListWheelParentData;
  transform.translate(0.0, _getUntransformedPaintingCoordinateY(parentData.offset.dy));
}