Describe the bug
After the recent changes in the wolt_modal_sheet repository, the Bloc provider is no longer accessible in the modal's title or other higher-level elements when using the new decorator pattern. This issue limits the ability to manage state or data directly in these components.
Steps to reproduce
Steps to reproduce the behavior:
Go to the project and update to the latest commit from the wolt_modal_sheet repository.
Implement a Bloc provider in the modalDecorator to be used in a modal title.
Attempt to access the Bloc within the title component.
Observe that the Bloc is not accessible.
Expected behavior
The Bloc provider should be accessible in the modal's title and other higher-level components, allowing for consistent state management and data access throughout the modal.
Bug report
Describe the bug After the recent changes in the wolt_modal_sheet repository, the Bloc provider is no longer accessible in the modal's title or other higher-level elements when using the new decorator pattern. This issue limits the ability to manage state or data directly in these components.
Steps to reproduce
Steps to reproduce the behavior:
Go to the project and update to the latest commit from the wolt_modal_sheet repository. Implement a Bloc provider in the modalDecorator to be used in a modal title. Attempt to access the Bloc within the title component. Observe that the Bloc is not accessible.
Expected behavior
The Bloc provider should be accessible in the modal's title and other higher-level components, allowing for consistent state management and data access throughout the modal.
Additional context
It worked before decorator re-work commit