Skip to content

πŸ› TooltipThemeData.waitDuration and others not affected by given widget styleΒ #1320

@jacksonb-cs

Description

@jacksonb-cs

Describe the bug
Tooltips are not using some values given by Tooltip.style. The reason for this is because the affected attributes are incorrectly referencing theme data obtained directly from the widget's BuildContext without merging the widget's given style.

To Reproduce
Steps to reproduce the behavior:

  1. Create a tooltip and give it a waitDuration of zero.
  2. Observe it still takes the default duration of one second to appear.

Expected behavior
Consistently use the result of merging the inherited theme data with the widget's given style.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions