getWPercent method

dynamic getWPercent(
  1. int percent
)

Implementation

getWPercent(int percent) => width * (percent/100);