Interface RenderSliverBoxChildManager
Namespace: Unity.UIWidgets.rendering
Syntax
public interface RenderSliverBoxChildManager
Properties
childCount
Declaration
int? childCount { get; }
Property Value
| Type | Description |
|---|---|
| Nullable<Int32> |
Methods
createChild(Int32, RenderBox)
Declaration
void createChild(int index, RenderBox after = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | index | |
| RenderBox | after |
debugAssertChildListLocked()
Declaration
bool debugAssertChildListLocked()
Returns
| Type | Description |
|---|---|
| Boolean |
didAdoptChild(RenderBox)
Declaration
void didAdoptChild(RenderBox child)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderBox | child |
didFinishLayout()
Declaration
void didFinishLayout()
didStartLayout()
Declaration
void didStartLayout()
estimateMaxScrollOffset(SliverConstraints, Int32, Int32, Single, Single)
Declaration
float estimateMaxScrollOffset(SliverConstraints constraints, int firstIndex = 0, int lastIndex = 0, float leadingScrollOffset = 0F, float trailingScrollOffset = 0F)
Parameters
| Type | Name | Description |
|---|---|---|
| SliverConstraints | constraints | |
| Int32 | firstIndex | |
| Int32 | lastIndex | |
| Single | leadingScrollOffset | |
| Single | trailingScrollOffset |
Returns
| Type | Description |
|---|---|
| Single |
removeChild(RenderBox)
Declaration
void removeChild(RenderBox child)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderBox | child |
setDidUnderflow(Boolean)
Declaration
void setDidUnderflow(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| Boolean | value |