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.dark, and Colors.white if it is Brightness.light.

Implementation

final Decoration? decoration;