scroll method
Implementation
void scroll(double dy) {
if (_scrollController != null) {
final newOffset = (_scrollController!.offset + dy * 8).clamp(
0.0,
_scrollController!.position.maxScrollExtent,
);
_scrollController!.animateTo(
newOffset,
duration: const Duration(milliseconds: 80),
curve: Curves.linear,
);
}
}