animateTo method

Future<bool> animateTo(
  1. int section,
  2. int row
)

Implementation

Future<bool> animateTo(int section, int row) {
  topIndex = IndexPath(section: section, row: row);
  animate = true;
  dirty = true;
  notifyListeners();
  return Future.delayed(Duration(milliseconds: 251), () => true);
}