just_the_tooltip
just_the_tooltip copied to clipboard
Bad state: This controller has not been attached to a tooltip yet.
Hello guys. Running the rules works, but time passes and bam
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
actually it is not true way, you should add a bool method to show if it is attached or not.
My solution for this is putting it in async function
onPressed: () async => tooltipController.showTooltip();
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
@SaturnoMark let assume that you want to show it after going to a page. for example you want to open it using routing