childForSlot method

  1. @protected
ChildType? childForSlot(
  1. SlotType slot
)

Returns the RenderObject child that is currently occupying the provided slot.

Returns null if no RenderObject is configured for the given slot.

Implementation

@protected
ChildType? childForSlot(SlotType slot) => _slotToChild[slot];