resolveFlexGrow static method

double resolveFlexGrow(
  1. String grow
)

Implementation

static double resolveFlexGrow(String grow) {
  double? flexGrow = CSSLength.toDouble(grow);
  return flexGrow != null && flexGrow >= 0 ? flexGrow : 0.0;
}