is there any way to specify class i need to build inside the function?
i wanted to create a custom flutter function to build different tooltips with common interface,