dynamicWidth property

double dynamicWidth

Implementation

double get dynamicWidth {
  double screenWidth = SizeConfig.screenWidth as double;
  // 375 is the layout width that designer use
  return (this! / 270) * screenWidth;
}