remainingLooseWidth property

double get remainingLooseWidth

Gets the remaining loose (flexible) width available for loose flex items.

Loose flex items can shrink below their flex allocation. This getter returns the remaining width available specifically for items with loose flex constraints (FlexFit.loose).

Throws AssertionError if called before layout is complete.

Returns remaining loose width in logical pixels as a double.

Implementation

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