IndexedSlot<T extends Element?> class Null safety

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.
read-onlyoverride
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.
read-onlyinherited
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 non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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