perWidth method

double perWidth(
  1. double percentage
)

Returns the the percentage of the maxWidth

constraints.maxWidth.per(percentage);

Implementation

double perWidth(double percentage) => this.maxWidth.per(percentage);