Inheritance
System.Object
SliverChildListDelegate
public class SliverChildListDelegate : SliverChildDelegate
Constructors
Declaration
public SliverChildListDelegate(List<Widget> children, bool addAutomaticKeepAlives = true, bool addRepaintBoundaries = true)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<Widget> |
children |
|
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 List<Widget> children
Field Value
Type |
Description |
System.Collections.Generic.List<Widget> |
|
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