childForSlot method Null safety

  1. @protected
RenderBox? childForSlot(
  1. S slot
)
protected">@protected

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

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

Implementation

@protected
RenderBox? childForSlot(S slot) => _slotToChild[slot];