update method
Implementation
void update(
double offset, double maxScrollExtent, ScrollController controller) {
value = SSpreadsheetHorizontalMetrics(
offset: offset,
maxScrollExtent: maxScrollExtent,
controller: controller);
}