import 'dart:ui'; import 'package:get/get.dart'; class AppSizes { // get height and width from getX static final double deviceHeight = Get.height; static final double deviceWidth = Get.width; static const int height1060 = 1060; static const int height880 = 880; static const int height740 = 740; static const int height490 = 490; static const int width1060 = 1060; static const int width880 = 880; static const int width740 = 740; static const int width490 = 490; static const int screen720x1280 = 490; static final double mapPinSize = (deviceWidth * window.devicePixelRatio); }