Using bloc inside showDialog Could not find the correct Provider
i have a screen that have many tiles, when i click the tile button, a custom showDialog must appear, in the custom dialog i want to call a bloc event, but i have the following error:
i have a screen that have many tiles, when i click the tile button, a custom showDialog must appear, in the custom dialog i want to call a bloc event, but i have the following error: