scrollToVerticalOffset method
Scroll the vertical scrollbar from current position to the given value.
If you want animation on scrolling, you can pass true as canAnimate argument.
Implementation
Future<void> scrollToVerticalOffset(double offset,
{bool canAnimate = false}) async {
if (_dataGridStateDetails != null) {
final DataGridConfiguration dataGridSettings = _dataGridStateDetails!();
return grid_helper.scrollVertical(dataGridSettings, offset, canAnimate);
}
}