FlattenChange class

Metadata describing an incremental single-node expand/collapse, so a scroll anchor can preserve position when the change happened above the viewport.

Constructors

FlattenChange({required int index, required int deltaItems})
const

Properties

deltaItems int
Item count delta: positive when rows were inserted (expand), negative when removed (collapse).
final
hashCode int
The hash code for this object.
no setterinherited
index int
Index of the changed node in the resulting flat list.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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