child property

Widget? child
final

An optional custom child widget to use as the button body. If provided, uses a GestureDetector to wrap this child.

Implementation

final Widget? child;