setHeight method
Set the height of the table.
Implementation
void setHeight(int h) {
final headerHeight = _headersView().split('\n').length;
_viewport = _viewport.copyWith(height: h - headerHeight);
updateViewport();
}
Set the height of the table.
void setHeight(int h) {
final headerHeight = _headersView().split('\n').length;
_viewport = _viewport.copyWith(height: h - headerHeight);
updateViewport();
}