-
-
Save TechieBlossom/52eeaad5a00a1d2af3be4056c1f668a6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension SizeExtension on num { | |
num get w => ScreenUtil().setWidth(this); | |
num get h => ScreenUtil().setHeight(this); | |
num get sp => ScreenUtil().setSp(this); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment