w property

double w

Calculates the width depending on the device's screen size

Eg: 20.w -> will take 20% of the screen's width

Implementation

double get w => this * Device.width / 100;