Inheritance
System.Object
RenderSliver
public abstract class RenderSliver : RenderObject, HitTestTarget
Properties
Declaration
public float centerOffsetAdjustment { get; }
Property Value
Type |
Description |
System.Single |
|
Declaration
public SliverConstraints constraints { get; }
Property Value
Declaration
public SliverGeometry geometry { get; set; }
Property Value
Declaration
public override Rect paintBounds { get; }
Property Value
Overrides
Declaration
public override Rect semanticBounds { get; }
Property Value
Overrides
Methods
Declaration
public override void applyPaintTransform(RenderObject child, Matrix3 transform)
Parameters
Overrides
Declaration
public float calculateCacheOffset(SliverConstraints constraints, float from, float to)
Parameters
Type |
Name |
Description |
SliverConstraints |
constraints |
|
System.Single |
from |
|
System.Single |
to |
|
Returns
Type |
Description |
System.Single |
|
Declaration
public float calculatePaintOffset(SliverConstraints constraints, float from, float to)
Parameters
Type |
Name |
Description |
SliverConstraints |
constraints |
|
System.Single |
from |
|
System.Single |
to |
|
Returns
Type |
Description |
System.Single |
|
Declaration
public virtual float childCrossAxisPosition(RenderObject child)
Parameters
Returns
Type |
Description |
System.Single |
|
childMainAxisPosition(RenderObject)
Declaration
public virtual float childMainAxisPosition(RenderObject child)
Parameters
Returns
Type |
Description |
System.Single |
|
Declaration
public virtual float childScrollOffset(RenderObject child)
Parameters
Returns
Type |
Description |
System.Single |
|
Declaration
protected override void debugAssertDoesMeetConstraints()
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 void debugResetSize()
Overrides
Declaration
public bool hitTest(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 |
|
Declaration
protected virtual 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 |
|
Declaration
protected virtual bool hitTestSelf(float mainAxisPosition = 0F, float crossAxisPosition = 0F)
Parameters
Type |
Name |
Description |
System.Single |
mainAxisPosition |
|
System.Single |
crossAxisPosition |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
protected override void performResize()
Overrides
Extension Methods