@@ -76,9 +76,11 @@ class LatticeScrollView extends StatelessWidget {
7676 BuildContext context,
7777 ViewportOffset horizontalOffset,
7878 ) => NotificationListener <OverscrollNotification >(
79- onNotification: (notification) =>
80- notification.metrics.axisDirection != AxisDirection .right &&
81- notification.metrics.axisDirection != AxisDirection .left,
79+ onNotification:
80+ (notification) =>
81+ notification.metrics.axisDirection !=
82+ AxisDirection .right &&
83+ notification.metrics.axisDirection != AxisDirection .left,
8284 child: Scrollbar (
8385 thumbVisibility: true ,
8486 controller: verticalController,
@@ -576,9 +578,10 @@ class _RenderLatticeBody extends RenderBox {
576578 super .attach (owner);
577579 _horizontalOffset.addListener (_handleOffsetChange);
578580 _verticalOffset.addListener (_handleOffsetChange);
579- _tap = TapGestureRecognizer (debugOwner: this )
580- ..onTapDown = _handleTapDown
581- ..onTapUp = _handleTapUp;
581+ _tap =
582+ TapGestureRecognizer (debugOwner: this )
583+ ..onTapDown = _handleTapDown
584+ ..onTapUp = _handleTapUp;
582585 for (final child in _childrenByCoordinate.values) {
583586 child.attach (owner);
584587 }
@@ -809,7 +812,7 @@ class _RenderLatticeBody extends RenderBox {
809812 void applyPaintTransform (RenderBox child, Matrix4 transform) {
810813 final childParentData = child.parentData as _LatticeParentData ;
811814 final offset = _coordinateToOffset (childParentData.coordinate! )! ;
812- transform.translate (offset.dx, offset.dy);
815+ transform.translateByDouble (offset.dx, offset.dy, 0.0 , 1.0 );
813816 }
814817
815818 @override
0 commit comments