Inheritance
System.Object
SliverChildBuilderDelegate
public class SliverChildBuilderDelegate : SliverChildDelegate
Constructors
Declaration
public SliverChildBuilderDelegate(IndexedWidgetBuilder builder, int? childCount = default(int? ), bool addAutomaticKeepAlives = true, bool addRepaintBoundaries = true)
Parameters
Type |
Name |
Description |
IndexedWidgetBuilder |
builder |
|
System.Nullable<System.Int32> |
childCount |
|
System.Boolean |
addAutomaticKeepAlives |
|
System.Boolean |
addRepaintBoundaries |
|
Fields
Declaration
public readonly bool addAutomaticKeepAlives
Field Value
Type |
Description |
System.Boolean |
|
Declaration
public readonly bool addRepaintBoundaries
Field Value
Type |
Description |
System.Boolean |
|
Declaration
public readonly IndexedWidgetBuilder builder
Field Value
Declaration
public readonly int? childCount
Field Value
Type |
Description |
System.Nullable<System.Int32> |
|
Properties
Declaration
public override int? estimatedChildCount { get; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Overrides
Methods
build(BuildContext, Int32)
Declaration
public override Widget build(BuildContext context, int index)
Parameters
Type |
Name |
Description |
BuildContext |
context |
|
System.Int32 |
index |
|
Returns
Overrides
Declaration
public override bool shouldRebuild(SliverChildDelegate oldDelegate)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides