why
Opened this issue · 1 comments
Launching lib\main.dart on Android SDK built for x86 in debug mode...
I/flutter ( 3626): 0.47708549936988065 of my widget is visible
I/flutter ( 3626): 0.0 of my widget is visible
I/flutter ( 3626): 0.47708549936988065 of my widget is visible
I/flutter ( 3626): didChangeAppLifecycleState CALLED ✅
I/flutter ( 3626): AppLifecycleState.inactive
I/flutter ( 3626): AppLifecycleState inactive
I/flutter ( 3626): didChangeAppLifecycleState CALLED ✅
I/flutter ( 3626): AppLifecycleState.inactive
I/flutter ( 3626): AppLifecycleState inactive
I/flutter ( 3626): didChangeAppLifecycleState CALLED ✅
I/flutter ( 3626): AppLifecycleState.inactive
I/flutter ( 3626): AppLifecycleState inactive
I/flutter ( 3626): 0.0 of my widget is visible
I/flutter ( 3626): 0.47708549936988065 of my widget is visible
I/flutter ( 3626): 0.0 of my widget is visible
I/flutter ( 3626): 0.47708549936988065 of my widget is visible
I/flutter ( 3626): didChangeAppLifecycleState CALLED ✅
I/flutter ( 3626): AppLifecycleState.paused
I/flutter ( 3626): AppLifecycleState paused
I/flutter ( 3626): didChangeAppLifecycleState CALLED ✅
I/flutter ( 3626): AppLifecycleState.paused
I/flutter ( 3626): AppLifecycleState paused
I/flutter ( 3626): didChangeAppLifecycleState CALLED ✅
I/flutter ( 3626): AppLifecycleState.paused
I/flutter ( 3626): AppLifecycleState paused
I/flutter ( 3626): 0.0 of my widget is visible
I/flutter ( 3626): 0.47708549936988065 of my widget is visible
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
-
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/binding.dart').
orElse: () => WidgetsBinding.instance!.window.locale,
^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null. -
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance!.addPostFrameCallback(
^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
-
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance!.window.locales,^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
-
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/binding.dart').
MediaQueryData.fromWindow(WidgetsBinding.instance!.window);^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
-
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance!.addObserver(this);
^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null. -
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance!.removeObserver(this);
^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null. -
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/binding.dart').
data: MediaQueryData.fromWindow(WidgetsBinding.instance!.window),
^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null. -
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/binding.dart').
? WidgetsBinding.instance!.window.padding.bottom
^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null. -
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/binding.dart').
: WidgetsBinding.instance!.window.padding.top);
^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null. -
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/binding.dart').
? WidgetsBinding.instance!.window.padding.left
^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null. -
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/binding.dart').
: WidgetsBinding.instance!.window.padding.right);
^
: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
-
'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/scheduler/binding.dart').
SchedulerBinding.instance!.addPostFrameCallback((_) {
^
: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null. -
'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/scheduler/binding.dart').
SchedulerBinding.instance!.addPostFrameCallback((_) {
^
: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null. -
'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/scheduler/binding.dart').
SchedulerBinding.instance!.addPostFrameCallback(
^
: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null. -
'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/scheduler/binding.dart').
SchedulerBinding.instance?.addPostFrameCallback((_) => onReady());
^
: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null. -
'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/scheduler/binding.dart').
SchedulerBinding.instance?.addPostFrameCallback((_) => onReady());
^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null. -
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance!.addObserver(this);
^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance!.removeObserver(this);
^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null. - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance!.addPostFrameCallback((timeStamp) {
^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
-
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance!.addObserver(this);^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
-
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance!.removeObserver(this);^
: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
-
'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/scheduler/binding.dart').
SchedulerBinding.instance!.addPostFrameCallback((_) {^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance!.addPostFrameCallback((_) {
^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance!.addPostFrameCallback((Duration value) {
^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
-
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance!.addPostFrameCallback((timeStamp) {^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
-
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance!.addPostFrameCallback((_) => _controller!.clear());^
: Error: Member not found: 'packageRoot'.
io.Platform.packageRoot; // ignore: deprecated_member_use
^^^^^^^^^^^
FAILURE: Build failed with an exception.
- Where:
Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1156 - What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command 'C:\src\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. -
Get more help at https://help.gradle.org
BUILD FAILED in 34s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
i think it bcse some deprecated package this project made on flutter 2.2.0