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
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/velocity_x-3.5.1/lib/src/flutter/common/velocity_ensure_visible.dart:67:29: Error: Method 'addObserver' cannot be called on 'WidgetsBinding?' because it is potentially null.
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/binding.dart').
Try calling using ?. instead.
WidgetsBinding.instance.addObserver(this);
^^^^^^^^^^^
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/velocity_x-3.5.1/lib/src/flutter/common/velocity_ensure_visible.dart:72:29: Error: Method 'removeObserver' cannot be called on 'WidgetsBinding?' because it is potentially null.
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/binding.dart').
Try calling using ?. instead.
WidgetsBinding.instance.removeObserver(this);
^^^^^^^^^^^^^^
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/velocity_x-3.5.1/lib/src/flutter/drawer.dart:150:29: Error: Method 'addPostFrameCallback' cannot be called on 'WidgetsBinding?' because it is potentially null.
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/binding.dart').
Try calling using ?. instead.
WidgetsBinding.instance.addPostFrameCallback(getBoxHeight);
^^^^^^^^^^^^^^^^^^^^
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/velocity_x-3.5.1/lib/src/flutter/marquee.dart:51:29: Error: Method 'addPostFrameCallback' cannot be called on 'WidgetsBinding?' because it is potentially null.
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/binding.dart').
Try calling using ?. instead.
WidgetsBinding.instance.addPostFrameCallback((callback) {
^^^^^^^^^^^^^^^^^^^^
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/velocity_x-3.5.1/lib/src/flutter/popup_menu.dart:186:29: Error: Method 'addPostFrameCallback' cannot be called on 'WidgetsBinding?' because it is potentially null.
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/binding.dart').
Try calling using ?. instead.
WidgetsBinding.instance.addPostFrameCallback((call) {
^^^^^^^^^^^^^^^^^^^^
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/velocity_x-3.5.1/lib/src/flutter/common/velocity_ensure_visible.dart:67:29: Error: Method 'addObserver' cannot be called on 'WidgetsBinding?' because it is potentially null.
Try calling using ?. instead.
WidgetsBinding.instance.addObserver(this);
^^^^^^^^^^^
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/velocity_x-3.5.1/lib/src/flutter/common/velocity_ensure_visible.dart:72:29: Error: Method 'removeObserver' cannot be called on 'WidgetsBinding?' because it is potentially null.
Try calling using ?. instead.
WidgetsBinding.instance.removeObserver(this);
^^^^^^^^^^^^^^
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/velocity_x-3.5.1/lib/src/flutter/drawer.dart:150:29: Error: Method 'addPostFrameCallback' cannot be called on 'WidgetsBinding?' because it is potentially null.
Try calling using ?. instead.
WidgetsBinding.instance.addPostFrameCallback(getBoxHeight);
^^^^^^^^^^^^^^^^^^^^
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/velocity_x-3.5.1/lib/src/flutter/marquee.dart:51:29: Error: Method 'addPostFrameCallback' cannot be called on 'WidgetsBinding?' because it is potentially null.
Try calling using ?. instead.
WidgetsBinding.instance.addPostFrameCallback((callback) {
^^^^^^^^^^^^^^^^^^^^
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/velocity_x-3.5.1/lib/src/flutter/popup_menu.dart:186:29: Error: Method 'addPostFrameCallback' cannot be called on 'WidgetsBinding?' because it is potentially null.
Try calling using ?. instead.
WidgetsBinding.instance.addPostFrameCallback((call) {
^^^^^^^^^^^^^^^^^^^^
FAILURE: Build failed with an exception.
Where:
Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1102
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 30s
Exception: Gradle task assembleDebug failed with exit code 1
The text was updated successfully, but these errors were encountered: