You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not directly but from your dependency package "visibility_detector-0.2.2", which has been fixed and upgraded to 0.3.3 recently.
../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/visibility_detector-0.2.2/lib/src/visibility_detector_layer.dart:126:28: Warning: Operand of null-aware operation '?.' has type 'RendererBinding' which excludes null.
'RendererBinding' is from 'package:flutter/src/rendering/binding.dart' ('../../Development/flutter/packages/flutter/lib/src/rendering/binding.dart').
assert(RendererBinding.instance?.renderView != null);
^
../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/visibility_detector-0.2.2/lib/src/visibility_detector_layer.dart:127:50: Warning: Operand of null-aware operation '!' has type 'RendererBinding' which excludes null.
'RendererBinding' is from 'package:flutter/src/rendering/binding.dart' ('../../Development/flutter/packages/flutter/lib/src/rendering/binding.dart').
var clipRect = Offset.zero & RendererBinding.instance!.renderView.size;
^
../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/visibility_detector-0.2.2/lib/src/visibility_detector_layer.dart:170:26: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../Development/flutter/packages/flutter/lib/src/scheduler/binding.dart').
SchedulerBinding.instance!.addPostFrameCallback((timeStamp) {
^
../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/visibility_detector-0.2.2/lib/src/visibility_detector_layer.dart:193:22: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../Development/flutter/packages/flutter/lib/src/scheduler/binding.dart').
SchedulerBinding.instance!
The text was updated successfully, but these errors were encountered:
I know this is not the best practice but it works for me until the next update.
I simply opened the auto animated package project folder located in : {{flutter_folder}}/.pub-cache/hosted/pub.dartlang.org/auto_animated-3.0.1/
and I updated the pubspec.yaml by changing the visibility_detector version:
to: visibility_detector: ^0.3.3
Not directly but from your dependency package "visibility_detector-0.2.2", which has been fixed and upgraded to 0.3.3 recently.
../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/visibility_detector-0.2.2/lib/src/visibility_detector_layer.dart:126:28: Warning: Operand of null-aware operation '?.' has type 'RendererBinding' which excludes null.
assert(RendererBinding.instance?.renderView != null);
^
../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/visibility_detector-0.2.2/lib/src/visibility_detector_layer.dart:127:50: Warning: Operand of null-aware operation '!' has type 'RendererBinding' which excludes null.
var clipRect = Offset.zero & RendererBinding.instance!.renderView.size;
^
../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/visibility_detector-0.2.2/lib/src/visibility_detector_layer.dart:170:26: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
SchedulerBinding.instance!.addPostFrameCallback((timeStamp) {
^
../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/visibility_detector-0.2.2/lib/src/visibility_detector_layer.dart:193:22: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
SchedulerBinding.instance!
The text was updated successfully, but these errors were encountered: