child property
The widget to be displayed. This property is deprecated.
Use builder instead to compose the widget only when it's displayed.
It is highly recommended that the child widget has a defined Key
property.
This helps the Flutter engine efficiently identify and update elements in the widget tree during transitions.
Implementation
@deprecated
final Widget? child;