-
Notifications
You must be signed in to change notification settings - Fork 971
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Have you checked for an existing issue?
- I have searched the existing issues
Flutter Quill Version
11.4.2
Steps to Reproduce
- Use a QuillSimple toolbar inside a popup or modal
Expected results
There should not be an error.
We could have constructor parameter to set the localizations manually instead of relying on FlutterQuillLocalizations.of(this)
. That field would then be defaulted to FlutterQuillLocalizations.delegate
Actual results
In case where we use the toolbar from inside a popup or modal the build context is not a child of MaterialApp
as such we always get MissingFlutterQuillLocalizationException
despite the app being set up correctly. The toolbar is unusable at this point.
As a workaround we can wrap each popup with MaterialApp
but it is not practical.
Additional Context
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working