Inheritance
System.Object
RenderSliverPadding
public class RenderSliverPadding : RenderObjectWithChildMixinRenderSliver<RenderSliver>, HitTestTarget, RenderObjectWithChildMixin<RenderSliver>, RenderObjectWithChildMixin
Constructors
Declaration
public RenderSliverPadding(EdgeInsets padding = null, RenderSliver child = null)
Parameters
Properties
Declaration
public float afterPadding { get; }
Property Value
Type |
Description |
System.Single |
|
Declaration
public float beforePadding { get; }
Property Value
Type |
Description |
System.Single |
|
Declaration
public float crossAxisPadding { get; }
Property Value
Type |
Description |
System.Single |
|
mainAxisPadding
Declaration
public float mainAxisPadding { get; }
Property Value
Type |
Description |
System.Single |
|
Declaration
public EdgeInsets padding { get; set; }
Property Value
Methods
Declaration
public override void applyPaintTransform(RenderObject child, Matrix3 transform)
Parameters
Overrides
Declaration
public override float childCrossAxisPosition(RenderObject child)
Parameters
Returns
Type |
Description |
System.Single |
|
Overrides
childMainAxisPosition(RenderObject)
Declaration
public override float childMainAxisPosition(RenderObject child)
Parameters
Returns
Type |
Description |
System.Single |
|
Overrides
Declaration
public override float childScrollOffset(RenderObject child)
Parameters
Returns
Type |
Description |
System.Single |
|
Overrides
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Overrides
debugPaint(PaintingContext, Offset)
Declaration
public override void debugPaint(PaintingContext context, Offset offset)
Parameters
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
protected override void performLayout()
Overrides
Declaration
public override void setupParentData(RenderObject child)
Parameters
Overrides
Extension Methods