slowestWidgets property
Get widgets with slowest average build times.
Implementation
List<MapEntry<String, Duration>> get slowestWidgets {
final avgTimes = averageBuildTimes;
final sorted = avgTimes.entries.toList()
..sort((a, b) => b.value.compareTo(a.value));
return sorted.take(10).toList();
}