When I try to run the app on an Android device, I encounter an error:
/C:/Users/redni/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/rx_command-5.3.0/lib/rx_command.dart:559:44: Error: The getter 'value' isn't defined for the class 'Notification<TResult>'.
- 'Notification' is from 'package:rxdart/src/utils/notification.dart' ('/C:/Users/redni/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/rxdart-0.26.0/lib/src/utils/notification.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
_resultsSubject.add(notification.value);
^^^^^
/C:/Users/redni/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/rx_command-5.3.0/lib/rx_command.dart:560:65: Error: The getter 'value' isn't defined for the class 'Notification<TResult>'.
- 'Notification' is from 'package:rxdart/src/utils/notification.dart' ('/C:/Users/redni/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/rxdart-0.26.0/lib/src/utils/notification.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
_commandResultsSubject.add(CommandResult(notification.value, null, true));
^^^^^
/C:/Users/redni/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/rx_command-5.3.0/lib/rx_command.dart:561:37: Error: The getter 'value' isn't defined for the class 'Notification<TResult>'.
- 'Notification' is from 'package:rxdart/src/utils/notification.dart' ('/C:/Users/redni/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/rxdart-0.26.0/lib/src/utils/notification.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
lastResult = notification.value;
^^^^^
2
FAILURE: Build failed with an exception.
* Where:
Script 'E:\SDKs\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 991
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'E:\SDKs\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 35s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
Flutter doctor output:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.0.4, on Microsoft Windows [Version 10.0.19042.867], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Android Studio (version 4.1.0)
[√] Connected device (3 available)
When I try to run the app on an Android device, I encounter an error:
Flutter doctor output:
Pubspec: