flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
166.13k stars 27.43k forks source link

The non-abstract class 'InternalSelectableMathState' is missing implementations #92433

Closed Fauzdar1 closed 3 years ago

Fauzdar1 commented 3 years ago

My project was working fine last night. I worked on another project today and did two actions which might've caused the issue I'm facing. Please remember, I'd changed nothing in this project prior to facing the issue since it was working fine, I just opened it and clicked run. The two actions on other projects are:

  1. I ran flutter upgrade in another project I was working on.
  2. I installed openjdk8 for a react-native project.

Steps to Reproduce

  1. Run the project.
  2. Not able to run the project.

Expected results: Application installing in the device without any error.

Actual results: Error regarding a non-abstract class 'InternalSelectableMathState'.

Complete Error ``` Running Gradle task 'assembleDebug'... ../../FlutterSDK/.pub-cache/hosted/pub.dartlang.org/flutter_math_fork-0.3.3+1/lib/src/widgets/selectable.dart:407:7: Error: The non-abstract class 'InternalSelectableMathState' is missing implementations for these members: - TextSelectionDelegate.copySelection - TextSelectionDelegate.cutSelection - TextSelectionDelegate.pasteText - TextSelectionDelegate.selectAll Try to either - provide an implementation, - inherit an implementation from a superclass or mixin, - mark the class as abstract, or - provide a 'noSuchMethod' implementation. class InternalSelectableMathState extends State ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../../FlutterSDK/packages/flutter/lib/src/services/text_input.dart:956:8: Context: 'TextSelectionDelegate.copySelection' is defined here. void copySelection(SelectionChangedCause cause); ^^^^^^^^^^^^^ ../../FlutterSDK/packages/flutter/lib/src/services/text_input.dart:936:8: Context: 'TextSelectionDelegate.cutSelection' is defined here. void cutSelection(SelectionChangedCause cause); ^^^^^^^^^^^^ ../../FlutterSDK/packages/flutter/lib/src/services/text_input.dart:944:16: Context: 'TextSelectionDelegate.pasteText' is defined here. Future pasteText(SelectionChangedCause cause); ^^^^^^^^^ ../../FlutterSDK/packages/flutter/lib/src/services/text_input.dart:950:8: Context: 'TextSelectionDelegate.selectAll' is defined here. void selectAll(SelectionChangedCause cause); ^^^^^^^^^ FAILURE: Build failed with an exception. * Where: Script 'C:\Users\Venom\Documents\FlutterSDK\packages\flutter_tools\gradle\flutter.gradle' line: 1005 * What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'. > Process 'command 'C:\Users\Venom\Documents\FlutterSDK\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 29s Exception: Gradle task assembleDebug failed with exit code 1 ```
Logs ### 1. flutter run --verbose ``` [ +74 ms] executing: [C:\Users\Username\Documents\FlutterSDK/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +89 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] 4b330ddbedab445481cc73d50a4695b9154b4e4f [ +1 ms] executing: [C:\Users\Username\Documents\FlutterSDK/] git tag --points-at 4b330ddbedab445481cc73d50a4695b9154b4e4f [ +71 ms] Exit code 0 from: git tag --points-at 4b330ddbedab445481cc73d50a4695b9154b4e4f [ ] 2.6.0-11.0.pre [ +9 ms] executing: [C:\Users\Username\Documents\FlutterSDK/] git rev-parse --abbrev-ref --symbolic @{u} [ +55 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/dev [ ] executing: [C:\Users\Username\Documents\FlutterSDK/] git ls-remote --get-url origin [ +48 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ +130 ms] executing: [C:\Users\Username\Documents\FlutterSDK/] git rev-parse --abbrev-ref HEAD [ +57 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] dev [ +85 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +65 ms] executing: C:\Users\Venom\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l [ +61 ms] List of devices attached f74de0a67d63 device product:land model:Redmi_3S device:land transport_id:4 [ +8 ms] C:\Users\Venom\AppData\Local\Android\Sdk\platform-tools\adb.exe -s f74de0a67d63 shell getprop [ +93 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +102 ms] Skipping pub get: version match. [ +27 ms] Found plugin audio_session at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\audio_session-0.1.6+1\ [ +19 ms] Found plugin cloud_firestore at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-2.5.4\ [ +4 ms] Found plugin cloud_firestore_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\cloud_firestore_web-2.4.4\ [ +4 ms] Found plugin connectivity at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\connectivity-3.0.6\ [ +3 ms] Found plugin connectivity_for_web at C:\Users\VUsernamenom\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\connectivity_for_web-0.4.0+1\ [ +2 ms] Found plugin connectivity_macos at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\connectivity_macos-0.2.1+2\ [ +15 ms] Found plugin firebase_admob at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\firebase_admob-0.11.2\ [ +2 ms] Found plugin firebase_analytics at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\firebase_analytics-8.3.4\ [ +3 ms] Found plugin firebase_analytics_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\firebase_analytics_web-0.3.0+1\ [ +2 ms] Found plugin firebase_auth at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\firebase_auth-1.4.1\ [ +3 ms] Found plugin firebase_auth_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\firebase_auth_web-1.3.1\ [ +2 ms] Found plugin firebase_core at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\firebase_core-1.8.0\ [ +3 ms] Found plugin firebase_core_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-1.1.0\ [ +2 ms] Found plugin firebase_messaging at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\firebase_messaging-10.0.9\ [ +2 ms] Found plugin firebase_messaging_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\firebase_messaging_web-2.0.7\ [ +1 ms] Found plugin firebase_storage at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\firebase_storage-8.1.3\ [ +4 ms] Found plugin firebase_storage_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\firebase_storage_web-1.1.2\ [ +4 ms] Found plugin flutter_custom_tabs at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\flutter_custom_tabs-0.7.0\ [ +2 ms] Found plugin flutter_facebook_login at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\flutter_facebook_login-3.0.0\ [ +8 ms] Found plugin flutter_inappwebview at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\flutter_inappwebview-5.3.2\ [ +8 ms] Found plugin flutter_plugin_android_lifecycle at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-2.0.4\ [ +11 ms] Found plugin google_sign_in at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\google_sign_in-5.2.0\ [ +3 ms] Found plugin google_sign_in_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\google_sign_in_web-0.10.0+3\ [ +5 ms] Found plugin image_picker at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\image_picker-0.7.5+4\ [ +2 ms] Found plugin image_picker_for_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\image_picker_for_web-2.1.4\ [ +6 ms] Found plugin just_audio at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\just_audio-0.9.14\ [ +2 ms] Found plugin just_audio_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\just_audio_web-0.4.2\ [ +1 ms] Found plugin launch_review at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\launch_review-2.0.0\ [ +9 ms] Found plugin package_info at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\package_info-0.4.3+4\ [ +4 ms] Found plugin path_provider at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.5\ [ +1 ms] Found plugin path_provider_linux at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.1.0\ [ +2 ms] Found plugin path_provider_macos at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.2\ [ +2 ms] Found plugin path_provider_windows at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.3\ [ +11 ms] Found plugin share at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\share-0.6.5+4\ [ +1 ms] Found plugin shared_preferences at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\shared_preferences-2.0.8\ [ +1 ms] Found plugin shared_preferences_linux at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\shared_preferences_linux-2.0.2\ [ +1 ms] Found plugin shared_preferences_macos at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\shared_preferences_macos-2.0.2\ [ +2 ms] Found plugin shared_preferences_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\shared_preferences_web-2.0.2\ [ +1 ms] Found plugin shared_preferences_windows at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\shared_preferences_windows-2.0.2\ [ +3 ms] Found plugin sqflite at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\sqflite-2.0.0+4\ [ +10 ms] Found plugin url_launcher at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\url_launcher-6.0.12\ [ +1 ms] Found plugin url_launcher_linux at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\url_launcher_linux-2.0.2\ [ +1 ms] Found plugin url_launcher_macos at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-2.0.2\ [ +2 ms] Found plugin url_launcher_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-2.0.4\ [ +1 ms] Found plugin url_launcher_windows at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\url_launcher_windows-2.0.2\ [ +3 ms] Found plugin video_player at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\video_player-2.2.5\ [ +2 ms] Found plugin video_player_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\video_player_web-2.0.4\ [ +1 ms] Found plugin wakelock at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\ [ +1 ms] Found plugin wakelock_macos at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\wakelock_macos-0.4.0\ [ +1 ms] Found plugin wakelock_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\wakelock_web-0.4.0\ [ +1 ms] Found plugin webview_flutter at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\webview_flutter-2.1.2\ [ +2 ms] Found plugin webview_flutter_android at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\webview_flutter_android-2.0.15\ [ +2 ms] Found plugin webview_flutter_wkwebview at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\webview_flutter_wkwebview-2.0.14\ [ +96 ms] Found plugin audio_session at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\audio_session-0.1.6+1\ [ +7 ms] Found plugin cloud_firestore at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-2.5.4\ [ +1 ms] Found plugin cloud_firestore_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\cloud_firestore_web-2.4.4\ [ +1 ms] Found plugin connectivity at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\connectivity-3.0.6\ [ +2 ms] Found plugin connectivity_for_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\connectivity_for_web-0.4.0+1\ [ +1 ms] Found plugin connectivity_macos at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\connectivity_macos-0.2.1+2\ [ +6 ms] Found plugin firebase_admob at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\firebase_admob-0.11.2\ [ +1 ms] Found plugin firebase_analytics at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\firebase_analytics-8.3.4\ [ +1 ms] Found plugin firebase_analytics_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\firebase_analytics_web-0.3.0+1\ [ +1 ms] Found plugin firebase_auth at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\firebase_auth-1.4.1\ [ +1 ms] Found plugin firebase_auth_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\firebase_auth_web-1.3.1\ [ +1 ms] Found plugin firebase_core at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\firebase_core-1.8.0\ [ +1 ms] Found plugin firebase_core_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-1.1.0\ [ +2 ms] Found plugin firebase_messaging at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\firebase_messaging-10.0.9\ [ +1 ms] Found plugin firebase_messaging_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\firebase_messaging_web-2.0.7\ [ +1 ms] Found plugin firebase_storage at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\firebase_storage-8.1.3\ [ +2 ms] Found plugin firebase_storage_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\firebase_storage_web-1.1.2\ [ +2 ms] Found plugin flutter_custom_tabs at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\flutter_custom_tabs-0.7.0\ [ +1 ms] Found plugin flutter_facebook_login at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\flutter_facebook_login-3.0.0\ [ +3 ms] Found plugin flutter_inappwebview at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\flutter_inappwebview-5.3.2\ [ +3 ms] Found plugin flutter_plugin_android_lifecycle at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-2.0.4\ [ +5 ms] Found plugin google_sign_in at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\google_sign_in-5.2.0\ [ +1 ms] Found plugin google_sign_in_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\google_sign_in_web-0.10.0+3\ [ +3 ms] Found plugin image_picker at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\image_picker-0.7.5+4\ [ +1 ms] Found plugin image_picker_for_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\image_picker_for_web-2.1.4\ [ +3 ms] Found plugin just_audio at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\just_audio-0.9.14\ [ +1 ms] Found plugin just_audio_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\just_audio_web-0.4.2\ [ +1 ms] Found plugin launch_review at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\launch_review-2.0.0\ [ +5 ms] Found plugin package_info at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\package_info-0.4.3+4\ [ +3 ms] Found plugin path_provider at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.5\ [ +1 ms] Found plugin path_provider_linux at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.1.0\ [ +1 ms] Found plugin path_provider_macos at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.2\ [ +1 ms] Found plugin path_provider_windows at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.3\ [ +4 ms] Found plugin share at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\share-0.6.5+4\ [ +1 ms] Found plugin shared_preferences at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\shared_preferences-2.0.8\ [ +1 ms] Found plugin shared_preferences_linux at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\shared_preferences_linux-2.0.2\ [ +1 ms] Found plugin shared_preferences_macos at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\shared_preferences_macos-2.0.2\ [ +1 ms] Found plugin shared_preferences_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\shared_preferences_web-2.0.2\ [ +1 ms] Found plugin shared_preferences_windows at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\shared_preferences_windows-2.0.2\ [ +2 ms] Found plugin sqflite at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\sqflite-2.0.0+4\ [ +5 ms] Found plugin url_launcher at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\url_launcher-6.0.12\ [ +1 ms] Found plugin url_launcher_linux at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\url_launcher_linux-2.0.2\ [ +1 ms] Found plugin url_launcher_macos at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-2.0.2\ [ +1 ms] Found plugin url_launcher_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-2.0.4\ [ +1 ms] Found plugin url_launcher_windows at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\url_launcher_windows-2.0.2\ [ +2 ms] Found plugin video_player at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\video_player-2.2.5\ [ +2 ms] Found plugin video_player_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\video_player_web-2.0.4\ [ +1 ms] Found plugin wakelock at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\ [ +1 ms] Found plugin wakelock_macos at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\wakelock_macos-0.4.0\ [ +1 ms] Found plugin wakelock_web at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\wakelock_web-0.4.0\ [ +1 ms] Found plugin webview_flutter at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\webview_flutter-2.1.2\ [ ] Found plugin webview_flutter_android at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\webview_flutter_android-2.0.15\ [ +1 ms] Found plugin webview_flutter_wkwebview at C:\Users\Username\Documents\FlutterSDK\.pub-cache\hosted\pub.dartlang.org\webview_flutter_wkwebview-2.0.14\ [ +24 ms] The plugins `flutter_facebook_login, launch_review` use a deprecated version of the Android embedding. To avoid unexpected runtime failures, or future build failures, try to see if these plugins support the Android V2 embedding. Otherwise, consider removing them since a future release of Flutter will remove these deprecated APIs. If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration. [ +3 ms] Generating C:\Users\Username\Documents\Projects New\varta_app\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java [ +65 ms] ro.hardware = qcom [ +51 ms] Initializing file store [ +13 ms] Skipping target: gen_localizations [ +4 ms] Skipping target: gen_dart_plugin_registrant [ +2 ms] Skipping target: _composite [ +3 ms] complete [ +7 ms] Launching lib\main.dart on Redmi 3S in debug mode... [ +6 ms] C:\Users\Username\Documents\FlutterSDK\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\Users\Username\Documents\FlutterSDK\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\Users\Username\Documents\FlutterSDK\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill C:\Users\Username\AppData\Local\Temp\flutter_tools.549d53d7\flutter_tool.5505bec5\app.dill --packages C:\Users\Username\Documents\Projects New\varta_app\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build\c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy [ +16 ms] executing: C:\Users\Username\AppData\Local\Android\Sdk\platform-tools\adb.exe -s f74de0a67d63 shell -x logcat -v time -t 1 [ +21 ms] <- compile package:varta_app/main.dart [ +263 ms] --------- beginning of main 10-26 00:21:02.422 W/ResourceType( 1557): ResTable_typeSpec entry count inconsistent: given 167, previously 839 [ +14 ms] executing: C:\Users\Username\AppData\Local\Android\Sdk\platform-tools\adb.exe version [ +31 ms] Android Debug Bridge version 1.0.41 Version 31.0.3-7562133 Installed as C:\Users\Username\AppData\Local\Android\Sdk\platform-tools\adb.exe [ +2 ms] executing: C:\Users\Username\AppData\Local\Android\Sdk\platform-tools\adb.exe start-server [ +34 ms] Building APK [ +34 ms] Running Gradle task 'assembleDebug'... [ +6 ms] Using gradle from C:\Users\Username\Documents\Projects New\varta_app\android\gradlew.bat. [ +6 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version [ +148 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version [ ] openjdk version "11.0.10" 2021-01-19 OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189) OpenJDK 64-Bit Server VM (build 11.0.10+0-b96-7249189, mixed mode) [ +1 ms] executing: [C:\Users\Username\Documents\Projects New\varta_app\android/] C:\Users\Username\Documents\Projects New\varta_app\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm64 -Ptarget=C:\Users\Username\Documents\Projects New\varta_app\lib\main.dart -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug [+1997 ms] > Configure project :app [ +3 ms] WARNING: The option setting 'android.enableR8=true' is deprecated. [ +1 ms] It will be removed in version 5.0 of the Android Gradle plugin. [ ] You will no longer be able to disable R8 [ +697 ms] > Configure project :flutter_custom_tabs [ +10 ms] WARNING: API 'variant.getGenerateBuildConfig()' is obsolete and has been replaced with 'variant.getGenerateBuildConfigProvider()'. [ ] It will be removed in version 5.0 of the Android Gradle plugin. [ +1 ms] For more information, see https://d.android.com/r/tools/task-configuration-avoidance. [ +6 ms] To determine what is calling variant.getGenerateBuildConfig(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information. [+2255 ms] ../../FlutterSDK/.pub-cache/hosted/pub.dartlang.org/flutter_math_fork-0.3.3+1/lib/src/widgets/selectable.dart:407:7: Error: The non-abstract class 'InternalSelectableMathState' is missing implementations for these members: [ +3 ms] - TextSelectionDelegate.copySelection [ ] - TextSelectionDelegate.cutSelection [ ] - TextSelectionDelegate.pasteText [ ] - TextSelectionDelegate.selectAll [ ] Try to either [ ] - provide an implementation, [ ] - inherit an implementation from a superclass or mixin, [ ] - mark the class as abstract, or [ ] - provide a 'noSuchMethod' implementation. [ ] class InternalSelectableMathState extends State [ ] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ ] ../../FlutterSDK/packages/flutter/lib/src/services/text_input.dart:956:8: Context: 'TextSelectionDelegate.copySelection' is defined here. [ ] void copySelection(SelectionChangedCause cause); [ ] ^^^^^^^^^^^^^ [ ] ../../FlutterSDK/packages/flutter/lib/src/services/text_input.dart:936:8: Context: 'TextSelectionDelegate.cutSelection' is defined here. [ ] void cutSelection(SelectionChangedCause cause); [ ] ^^^^^^^^^^^^ [ ] ../../FlutterSDK/packages/flutter/lib/src/services/text_input.dart:944:16: Context: 'TextSelectionDelegate.pasteText' is defined here. [ ] Future pasteText(SelectionChangedCause cause); [ ] ^^^^^^^^^ [ ] ../../FlutterSDK/packages/flutter/lib/src/services/text_input.dart:950:8: Context: 'TextSelectionDelegate.selectAll' is defined here. [ +6 ms] void selectAll(SelectionChangedCause cause); [ +1 ms] ^^^^^^^^^ [+1496 ms] > Task :app:compileFlutterBuildDebug [ +2 ms] [ +71 ms] executing: [C:\Users\Username\Documents\FlutterSDK/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] [ +96 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ +1 ms] [ ] 4b330ddbedab445481cc73d50a4695b9154b4e4f [ ] [ ] executing: [C:\Users\Username\Documents\FlutterSDK/] git tag --points-at 4b330ddbedab445481cc73d50a4695b9154b4e4f [ ] [ +74 ms] Exit code 0 from: git tag --points-at 4b330ddbedab445481cc73d50a4695b9154b4e4f [ ] [ ] 2.6.0-11.0.pre [ ] [ +9 ms] executing: [C:\Users\Username\Documents\FlutterSDK/] git rev-parse --abbrev-ref --symbolic @{u} [ ] [ +62 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] [ ] origin/dev [ ] [ ] executing: [C:\Users\Username\Documents\FlutterSDK/] git ls-remote --get-url origin [ ] [ +58 ms] Exit code 0 from: git ls-remote --get-url origin [ ] [ ] https://github.com/flutter/flutter.git [ ] [ +58 ms] executing: [C:\Users\Username\Documents\FlutterSDK/] git rev-parse --abbrev-ref HEAD [ ] [ +68 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] [ ] dev [ ] [ +70 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] [ +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ +5 ms] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ ] [ +149 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update. [ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update. [ ] [ +5 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ +4 ms] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update. [ ] [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ +1 ms] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'PubDependencies' is not required, skipping update. [ ] [ +47 ms] Initializing file store [ ] [ +25 ms] Skipping target: gen_localizations [ ] [ +18 ms] Skipping target: gen_dart_plugin_registrant [ ] [ +1 ms] kernel_snapshot: Starting due to {} [ ] [ +24 ms] C:\Users\Username\Documents\FlutterSDK\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\Users\Username\Documents\FlutterSDK\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\Users\Username\Documents\FlutterSDK\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --no-link-platform --packages C:\Users\Username\Documents\Projects New\varta_app\.dart_tool\package_config.json --output-dill C:\Users\Username\Documents\Projects New\varta_app\.dart_tool\flutter_build\8f4c37ea570b92cc0bbfcf139617de99\app.dill --depfile C:\Users\Username\Documents\Projects New\varta_app\.dart_tool\flutter_build\8f4c37ea570b92cc0bbfcf139617de99\kernel_snapshot.d package:varta_app/main.dart [+3609 ms] [+3935 ms] ../../FlutterSDK/.pub-cache/hosted/pub.dartlang.org/flutter_math_fork-0.3.3+1/lib/src/widgets/selectable.dart:407:7: Error: The non-abstract class 'InternalSelectableMathState' is missing implementations for these members: [ +133 ms] [ +1 ms] - TextSelectionDelegate.copySelection [ ] [ ] - TextSelectionDelegate.cutSelection [ ] [ ] - TextSelectionDelegate.pasteText [ ] [ ] - TextSelectionDelegate.selectAll [ ] [ ] Try to either [ ] [ ] - provide an implementation, [ ] [ ] - inherit an implementation from a superclass or mixin, [ ] [ ] - mark the class as abstract, or [ ] [ ] - provide a 'noSuchMethod' implementation. [ ] [ ] class InternalSelectableMathState extends State [ +2 ms] [ ] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ ] [ ] ../../FlutterSDK/packages/flutter/lib/src/services/text_input.dart:956:8: Context: 'TextSelectionDelegate.copySelection' is defined here. [ ] [ ] void copySelection(SelectionChangedCause cause); [ ] [ ] ^^^^^^^^^^^^^ [ ] [ ] ../../FlutterSDK/packages/flutter/lib/src/services/text_input.dart:936:8: Context: 'TextSelectionDelegate.cutSelection' is defined here. [ ] [ ] void cutSelection(SelectionChangedCause cause); [ ] [ ] ^^^^^^^^^^^^ [ ] [ ] ../../FlutterSDK/packages/flutter/lib/src/services/text_input.dart:944:16: Context: 'TextSelectionDelegate.pasteText' is defined here. [ ] [ ] Future pasteText(SelectionChangedCause cause); [ ] [ ] ^^^^^^^^^ [ ] [ ] ../../FlutterSDK/packages/flutter/lib/src/services/text_input.dart:950:8: Context: 'TextSelectionDelegate.selectAll' is defined here. [ ] [ ] void selectAll(SelectionChangedCause cause); [ ] [ ] ^^^^^^^^^ [+14784 ms] [+14951 ms] Persisting file store [ +1 ms] [ +3 ms] Done persisting file store [ +2 ms] [ +3 ms] Target kernel_snapshot failed: Exception [ +1 ms] #0 KernelSnapshot.build (package:flutter_tools/src/build_system/targets/common.dart:229:7) [ +1 ms] [ +1 ms] #1 _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:836:9) [ ] [ ] #2 Future.wait. (dart:async/future.dart) [ ] [ ] #3 _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:774:32) [ ] [ ] #4 FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:603:16) [ ] [ ] #5 AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:314:32) [ ] [ ] #6 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1125:27) [ +2 ms] [ +1 ms] #7 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) [ ] [ ] #8 CommandRunner.runCommand (package:args/command_runner.dart:209:13) [ ] [ ] #9 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9) [ ] [ ] #10 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) [ ] [ ] #11 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5) [ ] [ ] #12 run.. (package:flutter_tools/runner.dart:62:9) [ ] [ ] #13 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) [ ] [ ] #14 main (package:flutter_tools/executable.dart:92:3) [ ] [ ] [ +4 ms] [ ] #0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3) [ ] #1 AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:331:7) [ ] [ ] #2 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1125:27) [ +2 ms] [ +3 ms] #3 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) [ +1 ms] [ ] #4 CommandRunner.runCommand (package:args/command_runner.dart:209:13) [ ] [ ] #5 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9) [ ] [ ] #6 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) [ ] [ ] #7 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5) [ ] [ ] #8 run.. (package:flutter_tools/runner.dart:62:9) [ ] [ ] #9 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) [ ] [ +1 ms] #10 main (package:flutter_tools/executable.dart:92:3) [ ] [ +1 ms] [ +10 ms] "flutter assemble" took 19,208ms. [ +273 ms] [ +259 ms] ensureAnalyticsSent: 257ms [ +1 ms] [ +1 ms] Running shutdown hooks [ ] [ ] Shutdown hooks complete [ +1 ms] [ ] exiting with code 1 [ +1 ms] > Task :app:compileFlutterBuildDebug FAILED [ ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. [ ] Use '--warning-mode all' to show the individual deprecation warnings. [ ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings [ ] 1 actionable task: 1 executed [ ] FAILURE: Build failed with an exception. [ ] * Where: [ ] Script 'C:\Users\Username\Documents\FlutterSDK\packages\flutter_tools\gradle\flutter.gradle' line: 1005 [ ] * What went wrong: [ ] Execution failed for task ':app:compileFlutterBuildDebug'. [ ] > Process 'command 'C:\Users\Username\Documents\FlutterSDK\bin\flutter.bat'' finished with non-zero exit value 1 [ ] * Try: [ +1 ms] 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 25s [ +618 ms] Running Gradle task 'assembleDebug'... (completed in 26.2s) [ +3 ms] Exception: Gradle task assembleDebug failed with exit code 1 [ +2 ms] "flutter run" took 27,649ms. [ +3 ms] #0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3) #1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:669:9) #2 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1125:27) #3 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) #4 CommandRunner.runCommand (package:args/command_runner.dart:209:13) #5 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9) #6 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) #7 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5) #8 run.. (package:flutter_tools/runner.dart:62:9) #9 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) #10 main (package:flutter_tools/executable.dart:92:3) [ +257 ms] ensureAnalyticsSent: 255ms [ +3 ms] Running shutdown hooks [ +1 ms] Shutdown hooks complete [ +2 ms] exiting with code 1 ``` ### 2. flutter analyze ``` The plugins `flutter_facebook_login, launch_review` use a deprecated version of the Android embedding. To avoid unexpected runtime failures, or future build failures, try to see if these plugins support the Android V2 embedding. Otherwise, consider removing them since a future release of Flutter will remove these deprecated APIs. If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration. Analyzing app... info - 'accentColor' is deprecated and shouldn't be used. Use colorScheme.secondary instead. For more information, consult the migration guide at https://flutter.dev/docs/release/breaking-changes/theme-data-accent-properties#migration-guide. This feature was deprecated after v2.3.0-0.1.pre. - lib\models\theme_model.dart:10:5 - deprecated_member_use info - 'brightness' is deprecated and shouldn't be used. This property is no longer used, please use systemOverlayStyle instead. This feature was deprecated after v2.4.0-0.0.pre. - lib\models\theme_model.dart:21:7 - deprecated_member_use info - 'textTheme' is deprecated and shouldn't be used. This property is no longer used, please use toolbarTextStyle and titleTextStyle instead. This feature was deprecated after v2.4.0-0.0.pre. - lib\models\theme_model.dart:28:7 - deprecated_member_use info - 'accentColor' is deprecated and shouldn't be used. Use colorScheme.secondary instead. For more information, consult the migration guide at https://flutter.dev/docs/release/breaking-changes/theme-data-accent-properties#migration-guide. This feature was deprecated after v2.3.0-0.1.pre. - lib\models\theme_model.dart:51:7 - deprecated_member_use info - 'brightness' is deprecated and shouldn't be used. This property is no longer used, please use systemOverlayStyle instead. This feature was deprecated after v2.4.0-0.0.pre. - lib\models\theme_model.dart:62:9 - deprecated_member_use info - 'textTheme' is deprecated and shouldn't be used. This property is no longer used, please use toolbarTextStyle and titleTextStyle instead. This feature was deprecated after v2.4.0-0.0.pre. - lib\models\theme_model.dart:69:9 - deprecated_member_use 6 issues found. (ran in 3.1s) ``` ### 3. flutter doctor -v ``` [√] Flutter (Channel dev, 2.6.0-11.0.pre, on Microsoft Windows [Version 10.0.19043.1288], locale en-IN) • Flutter version 2.6.0-11.0.pre at C:\Users\Venom\Documents\FlutterSDK • Upstream repository https://github.com/flutter/flutter.git • Framework revision 4b330ddbed (6 weeks ago), 2021-09-16 17:29:58 -0700 • Engine revision 5b81c6d615 • Dart version 2.15.0 (build 2.15.0-116.0.dev) [√] Android toolchain - develop for Android devices (Android SDK version 31.0.0) • Android SDK at C:\Users\Venom\AppData\Local\Android\Sdk • Platform android-31, build-tools 31.0.0 • ANDROID_SDK_ROOT = C:\Users\Venom\AppData\Local\Android\Sdk • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189) • All Android licenses accepted. [√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe [√] Android Studio (version 2020.3) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189) [√] Connected device (2 available) • Chrome (web) • chrome • web-javascript • Google Chrome 95.0.4638.54 • Edge (web) • edge • web-javascript • Microsoft Edge 93.0.961.47 • No issues found! ```

Steps I've tried to resolve the issue which didn't help.

  1. Flutter clean
  2. Flutter pub get
  3. Flutter pub upgrade
  4. Flutter upgrade
  5. Invalidate caches and Restart.

I found nothing similar to the issue and the issues don't seem directly related to my project, this seems an issue with Flutter SDK.

darshankawar commented 3 years ago

@Fauzdar1 The error is pointing to 3rd party plugin you are using in your app:

../../FlutterSDK/.pub-cache/hosted/pub.dartlang.org/flutter_math_fork-0.3.3+1/lib/src/widgets/selectable.dart:407:7: Error: The non-abstract class 'InternalSelectableMathState' is missing implementations for these members which may have issues after you upgraded the framework. So you'll need to reach out in dedicated plugin's repo for solution. https://github.com/simpleclub-extended/flutter_math_fork/issues

Closing from here, as this isn't an issue in Flutter.

github-actions[bot] commented 2 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.