Fixes flutter 3.32 macos crash
Description
Flutter issue: https://github.com/flutter/flutter/issues/169204
Related Issues
Fixes #2572 Fixes #2575
Type of Change
- [ ] โจ Feature: New functionality without breaking existing features.
- [x] ๐ ๏ธ Bug fix: Resolves an issue without altering current behavior.
- [ ] ๐งน Refactor: Code reorganization, no behavior change.
- [ ] โ Breaking: Alters existing functionality and requires updates.
- [ ] ๐งช Tests: New or modified tests
- [ ] ๐ Documentation: Updates or additions to documentation.
- [ ] ๐๏ธ Chore: Routine tasks, or maintenance.
- [ ] โ Build configuration change: Build/configuration changes.
FYI, this fixes the bug on Windows as well.
The bug reported in the flutter repo also mentions that didChangeDependencies() should be handled. It might apply here, but is not handled in this PR.
@singerdmx Can we get this merged please?
@theniceboy rebase with the latest master may fix the test error. I'm looking for this too.
@singerdmx Can we get this merged please?
Please ๐
@singerdmx Can we get this merged please?
Please ๐
Another vote for merging this change in. Can't use Quill on macOS at all without this fix. Crashes as soon as you try to use the editor ... Tried on both Flutter 3.32.2 and 3.32.5 and the same results. Once I manually added the fix, no more crashes.
Quill is totally broken on Flutter 3.32.6 ๐ข
please merge.
I will merge it soon.
The failing test added in https://github.com/singerdmx/flutter-quill/pull/2616 now passes after merging this PR.