ObserverIndexPositionModel class

Constructors

ObserverIndexPositionModel({required int index, BuildContext? sliverContext, bool isFixedHeight = false, double alignment = 0, ObserverLocateIndexOffsetCallback? offset, EdgeInsets padding = EdgeInsets.zero})

Properties

alignment double
The alignment specifies the desired position for the leading edge of the child widget.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
index int
The index position of the scrollView.
getter/setter pair
isFixedHeight bool
If the height of the child widget and the height of the separator are fixed, please pass true to this property.
getter/setter pair
offset ↔ ObserverLocateIndexOffsetCallback?
Use this property when locating position needs an offset.
getter/setter pair
padding EdgeInsets
This value is required when the scrollView is wrapped in the SliverPadding.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sliverContext BuildContext?
The target sliver BuildContext.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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