decoration property

Decoration? decoration
final

Specifies the tooltip's shape and background color.

The tooltip shape defaults to a rounded rectangle with a border radius of 4.0. Tooltips will also default to an opacity of 90% and with the color Colors.grey[700] if ThemeData.brightness is Brightness.light, and Colors.white if it is Brightness.dark.

Implementation

final Decoration? decoration;