[bug]: Unhandled Exception: 'package:stacked_services/src/bottom_sheet/bottom_sheet_service.dart': Failed assertion: line 113 pos 7: '_sheetBuilders != null #1041
Labels
Feedback Requested
Waiting for new information from the OP
Describe the bug
Although the project has been set up through the stacked CLI and the setCustomSheetBuilders function is called in main.dart this error still occurs when first using the showCustomSheet function.
After digging a little bit into it, it seems like the private variable _sheetBuilders gets set, when calling the setCustomSheetBuilders function but somehow is null again, when the showCustomSheet function is called.
I do not know why this happens.
To reproduce
Expected behavior
No response
Screenshots
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: