IndexedSlot<T extends Element?> class

A value for Element.slot used for children of MultiChildRenderObjectElements.

A slot for a MultiChildRenderObjectElement consists of an index identifying where the child occupying this slot is located in the MultiChildRenderObjectElement's child list and an arbitrary value that can further define where the child occupying this slot fits in its parent's child list.

See also:

Annotations

Constructors

IndexedSlot(int index, T value)
Creates an IndexedSlot with the provided index and slot value.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
index int
The index of this slot in the parent's child list.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T
Information to define where the child occupying this slot fits in its parent's child list.
final

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.
override