dw property

double get dw

Calculates the width depending on the device's screen size.

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

Implementation

double get dw => this * AppSizeUtil.deviceWidth / 100;