-
-
Notifications
You must be signed in to change notification settings - Fork 924
Closed
Description
Due to dependency on chewie 0.9.10 the build fails when trying to compile for Linux desktop platform.
ERROR: /opt/flutter/.pub-cache/hosted/pub.dartlang.org/chewie-0.9.10/lib/src/chewie_player.dart:276:17: Error: The method 'inheritFromWidgetOfExactType' isn't defined for the class 'BuildContext'.
ERROR: - 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('/opt/flutter/packages/flutter/lib/src/widgets/framework.dart').
ERROR: Try correcting the name to the name of an existing method, or defining a method named 'inheritFromWidgetOfExactType'.
ERROR: context.inheritFromWidgetOfExactType(_ChewieControllerProvider)
ERROR: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR: /opt/flutter/.pub-cache/hosted/pub.dartlang.org/chewie_audio-1.0.0+1/lib/src/chewie_player.dart:101:17: Error: The method 'inheritFromWidgetOfExactType' isn't defined for the class 'BuildContext'.
ERROR: - 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('/opt/flutter/packages/flutter/lib/src/widgets/framework.dart').
ERROR: Try correcting the name to the name of an existing method, or defining a method named 'inheritFromWidgetOfExactType'.
ERROR: context.inheritFromWidgetOfExactType(_ChewieAudioControllerProvider)
ERROR: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Exception: Build process failed
flutter doctor -v
[✓] Flutter (Channel dev, 1.26.0-12.0.pre, on Linux, locale en_US.UTF-8)
• Flutter version 1.26.0-12.0.pre at /opt/flutter
• Framework revision a706cd2112 (10 days ago), 2021-01-14 18:20:26 -0500
• Engine revision effb529ece
• Dart version 2.12.0 (build 2.12.0-224.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /home/vlad/Android/Sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: /opt/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Linux toolchain - develop for Linux desktop
• clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
• cmake version 3.10.2
• ninja version 1.8.2
• pkg-config version 0.29.1
[✓] Android Studio
• Android Studio at /opt/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 1.8.0_242-release-1644-b3-6222593)
[✓] Connected device (2 available)
• DUK L09 (mobile) • XXXXXX • android-arm64 • Android 9 (API 28)
• Linux (desktop) • linux • linux-x64 • Linux
• No issues found!
Metadata
Metadata
Assignees
Labels
No labels