NestedScrollUtil class

Constructors

NestedScrollUtil()

Properties

bodySliverContexts List<BuildContext>
Record the BuildContext corresponding to all body slivers of NestedScrollView.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headerSliverContexts List<BuildContext>
Record the BuildContext corresponding to all header slivers of NestedScrollView.
getter/setter pair
remainingSliverContext BuildContext?
Record the BuildContext of SliverFillRemaining.
getter/setter pair
remainingSliverRenderObj RenderSliverSingleBoxAdapter?
Record the RenderObject of SliverFillRemaining.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

calcOverlap({required GlobalKey<State<StatefulWidget>> nestedScrollViewKey, required BuildContext sliverContext}) double?
Calculate the overlap for the body sliver.
calcPrecedingScrollExtent({required GlobalKey<State<StatefulWidget>> nestedScrollViewKey, required BuildContext sliverContext}) double?
fetchRemainingSliverContext({required GlobalKey<State<StatefulWidget>> nestedScrollViewKey}) BuildContext?
Get SliverFillRemaining
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → dynamic
Reset all data.
toString() String
A string representation of this object.
inherited

Operators

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