IndexedKey class

Creates an indexed key that delegates its operator== to the given key.

It contains an index used in ScrollablePositionedList.

Inheritance

Constructors

IndexedKey(Key? key, int index)
Creates an indexed key that delegates its operator== to the given key.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
index int
Index used to show position in a list.
final
key Key?
The key to which this this delegates its operator==.
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.
override

Operators

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