fractionHeight property

set fractionHeight (double v)

Implementation

set fractionHeight(double v) {
  final l = _latest;

  if (l is FractionallySizedBox)
    return _replace(
      (w) => FractionallySizedBox(
        widthFactor: l.widthFactor,
        heightFactor: v,
        child: w,
      ),
    );

  _add((w) => FractionallySizedBox(heightFactor: v, child: w));
}