child property

Widget? child
final

Widget to display as a button.

If not specified, it displays text using the Text widget.

Implementation

final Widget? child;