fractionWidth property

set fractionWidth (double v)

Implementation

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

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

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