Document that TooltipTriggerMode has no impact on hovering (#113324)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user