Closed RoarGronmo closed 2 years ago
Maybe we could define and use some function such as T? _ambiguate<T>(T? value) => value;
to wrap access to WidgetsBinding.instance
, which treats values of both T
and T?
equally as T?
. When everyone is on Flutter 3.0.0+, we can then drop it?
Same problem here:-
: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null. ../…/widgets/settings_widgets.dart:581
=================================== Can you solve it in next update ?
Same here, the whole copy paste : ` ../../../tools/flutter-sdk/.pub-cache/hosted/pub.dartlang.org/flutter_settings_screens-0.3.3-null-safety+1/lib/src/widgets/settings_widgets.dart:676:20: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
@nyxkn Can you take a look at these issues generated by the latest flutter stable/beta sdk update? I am planning to resolve this maybe during this weekend or by the end of next week.
If you can just the issues & provide a list of it here, we can connect over the weekend & get it done. I am sure it won't be a long list of changes for this.
Getting theese warnings:
Any hope for null safe release which addresses this particular problem ?