tooltipsMatchBackground property

bool tooltipsMatchBackground
final

Tooltips background color will match the brightness of the theme's background color.

By default Flutter's Material tooltips uses a theme where the tooltip background color brightness is inverted in relation to the overall theme's background color. FlexColorScheme allows you to use a single toggle to invert this. Light tooltips on light background is e.g. the default style on Windows Desktop. You can use this toggle to use this style, or as a means to create a platform adaptive tooltip style, where the Material/Flutter style is used on devices and Web, but the inverted scheme would be used on desktop platforms.

Defaults to false, uses same background style as Material and Flutter.

Implementation

final bool tooltipsMatchBackground;