remainingWidth property

double get remainingWidth

Gets the remaining unclaimed width in the table layout.

This represents horizontal space not allocated to any column after fixed and flex sizing calculations. Useful for understanding how much space is available for expansion or debugging layout issues.

Throws AssertionError if called before layout is complete.

Returns remaining width in logical pixels as a double.

Implementation

double get remainingWidth {
  assert(_layoutResult != null, 'Layout result is not available');
  return _layoutResult!.remainingWidth;
}