child property

Widget child
final

The content widget to display within the trigger.

Typically contains text, icons, or other UI elements that describe what will be expanded or collapsed. The child is automatically styled and positioned alongside the expand/collapse icon.

Implementation

final Widget child;