We can access screen size and other properties like pixel density, aspect ratio etc with help of MediaQuery.
syntax MediaQuery.of(context).size.width
No comments:
Post a Comment