Inheritance
System.Object
RenderSliverFixedExtentBoxAdaptor
public abstract class RenderSliverFixedExtentBoxAdaptor : RenderSliverMultiBoxAdaptor, HitTestTarget, ContainerRenderObjectMixin
Constructors
Declaration
protected RenderSliverFixedExtentBoxAdaptor(RenderSliverBoxChildManager childManager = null)
Parameters
Properties
Declaration
public abstract float itemExtent { get; set; }
Property Value
Type |
Description |
System.Single |
|
Methods
Declaration
protected float computeMaxScrollOffset(SliverConstraints constraints, float itemExtent)
Parameters
Returns
Type |
Description |
System.Single |
|
Declaration
protected virtual float estimateMaxScrollOffset(SliverConstraints constraints, int firstIndex = 0, int lastIndex = 0, float leadingScrollOffset = 0F, float trailingScrollOffset = 0F)
Parameters
Type |
Name |
Description |
SliverConstraints |
constraints |
|
System.Int32 |
firstIndex |
|
System.Int32 |
lastIndex |
|
System.Single |
leadingScrollOffset |
|
System.Single |
trailingScrollOffset |
|
Returns
Type |
Description |
System.Single |
|
Declaration
protected virtual int getMaxChildIndexForScrollOffset(float scrollOffset, float itemExtent)
Parameters
Type |
Name |
Description |
System.Single |
scrollOffset |
|
System.Single |
itemExtent |
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
protected virtual int getMinChildIndexForScrollOffset(float scrollOffset, float itemExtent)
Parameters
Type |
Name |
Description |
System.Single |
scrollOffset |
|
System.Single |
itemExtent |
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
protected virtual float indexToLayoutOffset(float itemExtent, int index)
Parameters
Type |
Name |
Description |
System.Single |
itemExtent |
|
System.Int32 |
index |
|
Returns
Type |
Description |
System.Single |
|
Declaration
protected override void performLayout()
Overrides
Extension Methods