Flutter升级后ListView滚动结束时条目轻微跳动的修复咨询
Flutter 3.19.3升级后ListView滚动结束条目跳动问题
近期将Flutter SDK升级至最新稳定版3.19.3后,发现ListView出现异常行为:列表滚动结束后,列表条目会轻微上下跳动,该现象在升级前并未出现。我已尝试执行flutter pub get更新所有依赖,并查阅Flutter发布说明中与滚动行为相关的破坏性变更,但问题仍未解决。
问题演示:
我的flutter doctor -v信息如下:
[√] Flutter (Channel stable, 3.19.3, on Microsoft Windows [Version 10.0.19045.4412], locale en-US) • Flutter version 3.19.3 on channel stable at C:\src\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision ba39319843 (3 months ago), 2024-03-07 15:22:21 -0600 • Engine revision 2e4ba9c6fb • Dart version 3.3.1 • DevTools version 2.31.1 [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 33.0.2) • Android SDK at C:\Users\User\AppData\Local\Android\Sdk • Platform android-34, build-tools 33.0.2 • Java binary at: E:\android studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822) • All Android licenses accepted. [√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe [X] Visual Studio - develop Windows apps X Visual Studio not installed; this is necessary to develop Windows apps. Download at https://visualstudio.microsoft.com/downloads/. Please install the "Desktop development with C++" workload, including all of its default components [√] Android Studio (version 2021.1) • Android Studio at E:\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.11+9-b60-7590822) [√] VS Code (version 1.89.1) • VS Code at C:\Users\User\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.90.0
内容的提问来源于stack exchange,提问作者Chamalka Gunawardena
相关产品推荐
相关产品推荐

