Add logging on scroll

main
Hank Grabowski 2023-03-19 17:54:29 -04:00
rodzic 8e84eb6f82
commit 42d802fd92
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -75,6 +75,9 @@ class _PostControlState extends State<PostControl> {
final int count = items.length;
final int scrollToIndex = _scrollToIndexCalc(items);
// TODO Figure out why doesn't scroll to correct position on loading
_logger.finer('Building view with initial position at $scrollToIndex');
return ScrollablePositionedList.builder(
physics: const AlwaysScrollableScrollPhysics(),
itemCount: count,