child property

Widget? child
final

The content of the button. Usually a Text widget.

If you want to use an Icon, use an IconButtno instead

Implementation

final Widget? child;