content property

Widget? content
final

The (optional) content of the dialog is displayed in the center of the dialog in a lighter font.

Typically, this is a ListView containing the contents of the dialog. Using a ListView ensures that the contents can scroll if they are too big to fit on the display.

Implementation

final Widget? content;