Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad state: This controller has not been attached to a tooltip yet. #70

Open
Soliardi-Chyngyz opened this issue Feb 22, 2023 · 5 comments

Comments

@Soliardi-Chyngyz
Copy link

Hello guys. Running the rules works, but time passes and bam

@dhave-dev13
Copy link

My solution to this is to separate the tooltip and put it inside a stateful widget. And just call that ToolTipWidget to where you want it to be used

@alirezat66
Copy link

actually it is not true way, you should add a bool method to show if it is attached or not.

@SaturnoMark
Copy link

SaturnoMark commented Feb 7, 2024

My solution for this is putting it in async function

onPressed: () async => tooltipController.showTooltip();

@guchengxi1994
Copy link

My solution to this is to separate the tooltip and put it inside a stateful widget. And just call that ToolTipWidget to where you want it to be used

this solution works

@alirezat66
Copy link

@SaturnoMark let assume that you want to show it after going to a page. for example you want to open it using routing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants