title property

Widget? title
final

Title widget for the color picker.

Typically a Text widget, e.g. Text('ColorPicker'). If not provided or null, there is no title on the toolbar of the color picker.

This widget can be used instead of heading or with it, depends on design need.

The title widget is like an app bar title in the sense that at the end of it, 1 to 4 actions buttons may also be present for copy, paste, select-close and cancel-close. The select-close and cancel-close actions should only be enabled when the picker is used in a dialog. The copy and paste actions can be enabled also when the picker is not in a dialog.

Implementation

final Widget? title;