heading property Null safety

Widget? heading
final

Heading widget for the color picker.

Typically a Text widget, e.g. Text('Select color'). If not provided or null, there is no heading for the color picker.

Implementation

final Widget? heading;