You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
613 B
26 lines
613 B
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);
|
|
}
|