remainingLooseHeight property

double get remainingLooseHeight

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

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

Throws AssertionError if called before layout is complete.

Returns remaining loose height in logical pixels as a double.

Implementation

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