protected override bool hitTestChildren(HitTestResult result, float mainAxisPosition, float crossAxisPosition) { D.assert(this.geometry.hitTestExtent > 0.0f); if (this.child != null) { return(RenderSliverHelpers.hitTestBoxChild(this, result, this.child, mainAxisPosition: mainAxisPosition, crossAxisPosition: crossAxisPosition)); } return(false); }
public override void applyPaintTransform(RenderObject child, Matrix3 transform) { D.assert(child != null); D.assert(child == this.child); RenderSliverHelpers.applyPaintTransformForBoxChild(this, this.child, transform); }