Repository navigation
[Bug report] Does not jump to queue in Post Frame Callback #160
Copy link
Copy link
Closed
Description
Version
1.27.2
Platforms
Linux, Windows, Web, macOS, iOS, Android
Device Model
MacBook Pro 2019 (MacOS 15.8)
flutter info
[✓] Flutter (Channel stable, 3.41.9, on macOS 15.8 24H23 darwin-x64, locale fr-DE) [2,3s]
• Flutter version 3.41.9 on channel stable at /Users/username/Documents/coding/sdk/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 00b0c91f06 (5 months ago), 2026-04-29 10:03:19 -0700
• Engine revision 42d3d75a56
• Dart version 3.11.5
• DevTools version 2.54.2
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, omit-legacy-version-file,
enable-lldb-debugging, enable-uiscene-migration
[!] Android toolchain - develop for Android devices (Android SDK version 36.1.0) [15,0s]
• Android SDK at /Users/username/Documents/coding/sdk/Android
• Emulator version 37.1.11.0 (build_id 15917651) (CL:N/A)
• Platform android-36.1, build-tools 36.1.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 25.0.3+-15898627-b508.16)
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/to/macos-android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 26.3) [5,9s]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 17C529
• CocoaPods version 1.16.2
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome) [17ms]
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Connected device (1 available) [8,0s]
• macOS (desktop) • macos • darwin-x64 • macOS 15.8 24H23 darwin-x64
! Error: Browsing on the local area network for iPad (4). Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources [3,1s]
• All expected network resources are available.
! Doctor found issues in 2 categories.How to reproduce?
I have this code
WidgetsBinding.instance.addPostFrameCallback((_) { print("should jump to item now"); observerController.jumpTo(index: playerControl.getCurrentIndex()); });
it does not jump to the item
Logs
Example code (optional)
Contact
just github here
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
LinXunFeng commentedon Sep 14, 2026
Please provide a minimal reproducible example.
dreamAviator commentedon Sep 14, 2026
I was working on it, and then tried another way to fix the issue and found it.
The StreamBuilder, at the start, always returned an empty list before returning the real value for some reason, and because of my code, with an empty list the controller had no listview to connect to.
I found a way to fix the issue.
Sorry for bothering you