child property
Widget
get
child
The child of the button. In the case of an IconButton, this can be a an Icon. For a TextButton, a Text.
This child will be animated between for the loadingWidget or default CircularProgressIndicator when the asynchronous onPressed is called. The animation will take place over duration.
Implementation
Widget get child;