slot property Null safety

Object? slot

Information set by parent to define where this child fits in its parent's child list.

A child widget's slot is determined when the parent's updateChild method is called to inflate the child widget. See RenderObjectElement for more details on slots.

Implementation

Object? get slot => _slot;