width static method
Implementation
static double width(width) {
final view = PlatformDispatcher.instance.implicitView!;
final screenWidth = view.physicalSize.width / view.devicePixelRatio;
return screenWidth * (width / 375);
}
static double width(width) {
final view = PlatformDispatcher.instance.implicitView!;
final screenWidth = view.physicalSize.width / view.devicePixelRatio;
return screenWidth * (width / 375);
}