Inheritance
System.Object
SliverChildDelegate
public abstract class SliverChildDelegate
Constructors
Declaration
protected SliverChildDelegate()
Properties
Declaration
public virtual int? estimatedChildCount { get; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Methods
build(BuildContext, Int32)
Declaration
public abstract Widget build(BuildContext context, int index)
Parameters
Type |
Name |
Description |
BuildContext |
context |
|
System.Int32 |
index |
|
Returns
Declaration
protected virtual void debugFillDescription(List<string> description)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<System.String> |
description |
|
Declaration
public virtual void didFinishLayout(int firstIndex, int lastIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
firstIndex |
|
System.Int32 |
lastIndex |
|
Declaration
public virtual float? estimateMaxScrollOffset(int firstIndex, int lastIndex, float leadingScrollOffset, float trailingScrollOffset)
Parameters
Type |
Name |
Description |
System.Int32 |
firstIndex |
|
System.Int32 |
lastIndex |
|
System.Single |
leadingScrollOffset |
|
System.Single |
trailingScrollOffset |
|
Returns
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public abstract bool shouldRebuild(SliverChildDelegate oldDelegate)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()