Inheritance
System.Object
RenderSliverSingleBoxAdapter
public abstract class RenderSliverSingleBoxAdapter : RenderObjectWithChildMixinRenderSliver<RenderBox>, HitTestTarget, RenderObjectWithChildMixin<RenderBox>, RenderObjectWithChildMixin
Constructors
Declaration
public RenderSliverSingleBoxAdapter(RenderBox child = null)
Parameters
Methods
Declaration
public override void applyPaintTransform(RenderObject child, Matrix3 transform)
Parameters
Overrides
childMainAxisPosition(RenderObject)
Declaration
public override float childMainAxisPosition(RenderObject child)
Parameters
Returns
Type |
Description |
System.Single |
|
Overrides
Declaration
protected override bool hitTestChildren(HitTestResult result, float mainAxisPosition = 0F, float crossAxisPosition = 0F)
Parameters
Type |
Name |
Description |
HitTestResult |
result |
|
System.Single |
mainAxisPosition |
|
System.Single |
crossAxisPosition |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
paint(PaintingContext, Offset)
Declaration
public override void paint(PaintingContext context, Offset offset)
Parameters
Overrides
Declaration
public void setChildParentData(RenderObject child, SliverConstraints constraints, SliverGeometry geometry)
Parameters
Declaration
public override void setupParentData(RenderObject child)
Parameters
Overrides
Extension Methods