[GH-ISSUE #8086] Dependency version mismatch? #3544

Closed
opened 2026-03-23 21:31:09 +00:00 by mirror · 3 comments
Owner

Originally created by @linchangyi on GitHub (Jun 27, 2025).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8086

Hey, I am new to contributing to open source. I am trying to setup the project.
I have cloned the projects and followed the steps mentioned in https://docs.appflowy.io/docs/documentation/appflowy/from-source/environment-setup/building-on-macos
I have completed step 3. But on step 4, when building the flutter app, I got this

Image

The issue arises because the package flutter_math_fork: ^0.7.3 depends on RenderObjectWithLayoutCallbackMixin, which is not available in Flutter version 3.27.4. After investigation, I found that the RenderObjectWithLayoutCallbackMixin exists in Flutter version 3.32.4.

I want to confirm whether the project has been updated to a version newer than Flutter 3.27.4. If not, how can I resolve the issue of RenderObjectWithLayoutCallbackMixin not being found?

Originally created by @linchangyi on GitHub (Jun 27, 2025). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8086 Hey, I am new to contributing to open source. I am trying to setup the project. I have cloned the projects and followed the steps mentioned in https://docs.appflowy.io/docs/documentation/appflowy/from-source/environment-setup/building-on-macos I have completed step 3. But on step 4, when building the flutter app, I got this <img width="1378" alt="Image" src="https://github.com/user-attachments/assets/2b157314-0c71-4e13-9fc9-bb30e3e8f75a" /> The issue arises because the package flutter_math_fork: ^0.7.3 depends on `RenderObjectWithLayoutCallbackMixin`, which is not available in Flutter version 3.27.4. After investigation, I found that the `RenderObjectWithLayoutCallbackMixin` exists in Flutter version 3.32.4. I want to confirm whether the project has been updated to a version newer than Flutter 3.27.4. If not, how can I resolve the issue of `RenderObjectWithLayoutCallbackMixin` not being found?
mirror 2026-03-23 21:31:09 +00:00
Author
Owner

@LucasXu0 commented on GitHub (Jun 27, 2025):

@linchangyi please post the Flutter Doctor output. We're using Flutter 3.27.4 now.

<!-- gh-comment-id:3012931710 --> @LucasXu0 commented on GitHub (Jun 27, 2025): @linchangyi please post the Flutter Doctor output. We're using Flutter 3.27.4 now.
Author
Owner

@linchangyi commented on GitHub (Jun 27, 2025):

@linchangyi please post the Flutter Doctor output. We're using Flutter 3.27.4 now.

❯ flutter doctor -v
[✓] Flutter (Channel stable, 3.27.4, on macOS 15.5 24F74 darwin-arm64, locale zh-Hans-CN)
    • Flutter version 3.27.4 on channel stable at /Users/ethanlin/.local/share/mise/installs/flutter/3.27.4-stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d8a9f9a52e (5 months ago), 2025-01-31 16:07:18 -0500
    • Engine revision 82bd5b7209
    • Dart version 3.6.2
    • DevTools version 2.40.3
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.1)
    • Android SDK at /Users/ethanlin/Library/Android/sdk
    • Platform android-35, build-tools 35.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 21.0.6+-13368085-b895.109)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16F6
    • CocoaPods version 1.16.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • 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 21.0.6+-13368085-b895.109)

[✓] IntelliJ IDEA Ultimate Edition (version 2025.1.1.1)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 85.3.2
    • Dart plugin version 251.25410.28

[✓] VS Code (version 1.101.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.112.0

[✓] VS Code (version 1.101.1)
    • VS Code at /Users/ethanlin/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.112.0

[✓] Connected device (3 available)
    • macOS (desktop)                 • macos                 • darwin-arm64   • macOS 15.5 24F74 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin         • macOS 15.5 24F74 darwin-arm64
    • Chrome (web)                    • chrome                • web-javascript • Google Chrome 137.0.7151.103

[✓] Network resources
    • All expected network resources are available.

• No issues found!
<!-- gh-comment-id:3014639438 --> @linchangyi commented on GitHub (Jun 27, 2025): > [@linchangyi](https://github.com/linchangyi) please post the Flutter Doctor output. We're using Flutter 3.27.4 now. ``` ❯ flutter doctor -v [✓] Flutter (Channel stable, 3.27.4, on macOS 15.5 24F74 darwin-arm64, locale zh-Hans-CN) • Flutter version 3.27.4 on channel stable at /Users/ethanlin/.local/share/mise/installs/flutter/3.27.4-stable • Upstream repository https://github.com/flutter/flutter.git • Framework revision d8a9f9a52e (5 months ago), 2025-01-31 16:07:18 -0500 • Engine revision 82bd5b7209 • Dart version 3.6.2 • DevTools version 2.40.3 • Pub download mirror https://pub.flutter-io.cn • Flutter download mirror https://storage.flutter-io.cn [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.1) • Android SDK at /Users/ethanlin/Library/Android/sdk • Platform android-35, build-tools 35.0.1 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 21.0.6+-13368085-b895.109) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 16.4) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 16F6 • CocoaPods version 1.16.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2024.3) • Android Studio at /Applications/Android Studio.app/Contents • 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 21.0.6+-13368085-b895.109) [✓] IntelliJ IDEA Ultimate Edition (version 2025.1.1.1) • IntelliJ at /Applications/IntelliJ IDEA.app • Flutter plugin version 85.3.2 • Dart plugin version 251.25410.28 [✓] VS Code (version 1.101.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.112.0 [✓] VS Code (version 1.101.1) • VS Code at /Users/ethanlin/Downloads/Visual Studio Code.app/Contents • Flutter extension version 3.112.0 [✓] Connected device (3 available) • macOS (desktop) • macos • darwin-arm64 • macOS 15.5 24F74 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.5 24F74 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 137.0.7151.103 [✓] Network resources • All expected network resources are available. • No issues found! ```
Author
Owner

@linchangyi commented on GitHub (Jul 1, 2025):

  flutter_math_fork:
    git:
      url: https://github.com/simpleclub/flutter_math.git
      ref: "6e84b607c5c0e00dd1f3d4bd30ef3f1628053328"

By downgrading flutter_math_fork to a specific commit, this issue was resolved.

<!-- gh-comment-id:3021493478 --> @linchangyi commented on GitHub (Jul 1, 2025): ``` flutter_math_fork: git: url: https://github.com/simpleclub/flutter_math.git ref: "6e84b607c5c0e00dd1f3d4bd30ef3f1628053328" ``` By downgrading flutter_math_fork to a specific commit, this issue was resolved.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#3544
No description provided.