Document that TooltipTriggerMode has no impact on hovering (#113324)

This commit is contained in:
Bruno Leroux
2022-10-13 22:19:05 +02:00
committed by GitHub
parent 274435dd94
commit a1912b0357

View File

@@ -299,6 +299,15 @@ class TooltipTheme extends InheritedTheme {
/// The method of interaction that will trigger a tooltip.
/// Used in [Tooltip.triggerMode] and [TooltipThemeData.triggerMode].
///
/// On desktop, a tooltip will be shown as soon as a pointer hovers over
/// the widget, regardless of the value of [Tooltip.triggerMode].
///
/// See also:
///
/// * [Tooltip.waitDuration], which defines the length of time that
/// a pointer must hover over a tooltip's widget before the tooltip
/// will be shown.
enum TooltipTriggerMode {
/// Tooltip will only be shown by calling `ensureTooltipVisible`.
manual,