setWidth method

void setWidth(
  1. String id,
  2. double width
)

Pins a column to an explicit width, as a resize drag does.

Implementation

void setWidth(String id, double width) {
  if (_widthOverrides[id] == width) return;
  _widthOverrides[id] = width;
  notifyListeners();
}