Closed
Description
Flutter 2.8, fine frame drop detected in native listview on iOS.
This is normal in flutter 2.5.
Create a listview with about 200 items.. If you scroll slowly and smoothly at a constant speed, you may find it stuttering.
2.5 example url : https://drive.google.com/file/d/1v9q2T6m_haEdvbV416rC9bhObAZ4HHFy/view?usp=sharing
2.8 example url : https://drive.google.com/file/d/1_1Xq7Fw03AaSKGQ3DA6OIQjKYQN7mR9i/view?usp=sharing
sample code
import 'package:flutter/material.dart';
void main() {
runApp(const App());
}
class App extends StatefulWidget {
const App({Key? key}) : super(key: key);
@override
_AppState createState() => _AppState();
}
class _AppState extends State<App> {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(title: const Text("Flutter 2.8 Test")),
body: ListView.separated(
separatorBuilder: (_, __) => const Divider(),
itemCount: 200,
itemBuilder: (context, index) {
return ListTile(
key: ValueKey(index),
title: Text("item $index"),
);
},
),
),
);
}
}
Metadata
Metadata
Assignees
Labels
Important issues not at the top of the work listRelates to speed or footprint issues (see "perf:" labels)It was better in the past than it is nowflutter/engine repository. See also e: labels.Viewports, list views, slivers, etc.Found to occur in 2.8Found to occur in 2.9flutter/packages/flutter repository. See also f: labels.The issue has been confirmed reproducible and is ready to work onPerformance issues related to (mostly rendering) speediOS applications specificallyIssue is closed as already fixed in a newer version
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
idompolo commentedon Dec 27, 2021
Same in master version (2.9.0--1.0.pre.199)
jiabin87428 commentedon Dec 27, 2021
jiabin87428 commentedon Dec 27, 2021
Also in the swipe return
hubertqiu commentedon Dec 27, 2021
JangHyun0828 commentedon Dec 27, 2021
Ec7i9se commentedon Dec 27, 2021
[-]Flutter 2.8, fine frame drop detected in native listview on iOS.[/-][+][iOS] Flutter 2.8, fine frame drop detected in native listview on iOS.[/+]mamuseferha commentedon Dec 28, 2021
Hi @idompolo, I verified on the latest stable and master channel and it is reproducible.
output
2.5test.mp4
2.8test.mp4
flutter doctor -v
Thank you
45 remaining items