Closed fennelhans closed 2 years ago
This is how other teams are doing it, by the way:
(WidgetsBinding.instance as WidgetsBinding).addObserver(this);
Got the same problem :( how to fix it? `../../../Documents/flutter/.pub-cache/hosted/pub.dartlang.org/emoji_picker_flutter-1.1.2/lib/src/emoji_picker.dart:164:35: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
Thanks for addressing this issue, please have a look at my comment in the PR!
Got the same problem :
In Flutter 3,
WidgetsBinding.instance
no longer requires a null safety check.