child property

Widget? child
final

Optional custom content widget replacing label and icon.

Receives the resolved foreground color via DefaultTextStyle and IconTheme. Mutually exclusive with label and icon.

Implementation

final Widget? child;