childForSlot method Null safety

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

Returns the widget that is currently occupying the provided slot.

The RenderObject configured by this class will be configured to have the RenderObject produced by the returned Widget in the provided slot.

Implementation

@protected
Widget? childForSlot(S slot);