width property

int get width

Implementation

int get width {
  var result = _width ?? getDefaultWidth();
  if (result < 0) {
    final g = grid;
    if (g != null) {
      try {
        final w = (g as dynamic).defaultColWidth;
        if (w is int) result = w;
      } catch (_) {
        result = kDefaultColWidth;
      }
    } else {
      result = kDefaultColWidth;
    }
  }
  return result;
}
set width (int value)

Implementation

set width(int value) {
  if (_width != value) {
    _width = value;
    _widthChanged = true;
    columnChanged();
  }
}