setWidth static method

dynamic setWidth(
  1. dynamic number
)

Implementation

static setWidth(number) {
  if (!(_ratio is double || _ratio is int)) {
    AdaptCJHelper.init(750);
  }
  return number * _ratio;
}