child property

Widget? child
getter/setter pair

The widget to be displayed as the content of the menu option.

This can be used to provide a custom widget for the option's appearance. If child is provided, label should be null.

Implementation

Widget? child;