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