SliverChildDelegateProxy class

Inheritance

Constructors

SliverChildDelegateProxy(SliverChildDelegate delegate, {Widget? header, Widget? footer})

Properties

delegate SliverChildDelegate
final
estimatedChildCount int?
Returns an estimate of the number of children this delegate will build.
no setteroverride
exCount int
getter/setter pair
final
hashCode int
The hash code for this object.
no setterinherited
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildContext context, int index) Widget?
Returns the child with the given index.
override
debugFillDescription(List<String> description) → void
Add additional information to the given description for use by toString.
inherited
didFinishLayout(int firstIndex, int lastIndex) → void
Called at the end of layout to indicate that layout is now complete.
override
estimateMaxScrollOffset(int firstIndex, int lastIndex, double leadingScrollOffset, double trailingScrollOffset) double?
Returns an estimate of the max scroll extent for all the children.
override
findIndexByKey(Key key) int?
Find index of child element with associated key.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldRebuild(covariant SliverChildDelegate oldDelegate) bool
Called whenever a new instance of the child delegate class is provided to the sliver.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited