2022-10-23 20:09:41 +00:00
|
|
|
/// `valueM` represents the base value.
|
|
|
|
/// All other values differs by 8dp.
|
|
|
|
class Dimens {
|
|
|
|
static const double borderRadiusM = 16;
|
|
|
|
static const double borderRadiusL = 24;
|
2022-11-29 18:46:23 +00:00
|
|
|
static const double borderRadiusXL = 32;
|
2022-10-23 20:09:41 +00:00
|
|
|
|
2022-10-24 20:25:38 +00:00
|
|
|
static const double grid4 = 4;
|
2022-10-23 20:09:41 +00:00
|
|
|
static const double grid8 = 8;
|
|
|
|
static const double grid16 = 16;
|
2022-10-26 19:49:21 +00:00
|
|
|
static const double grid24 = 24;
|
2022-12-04 20:10:04 +00:00
|
|
|
static const double grid56 = 56;
|
2022-11-27 20:22:56 +00:00
|
|
|
static const double grid168 = 168;
|
2022-10-23 20:09:41 +00:00
|
|
|
|
|
|
|
static const double paddingM = 16;
|
2022-11-27 20:22:56 +00:00
|
|
|
static const double paddingL = 24;
|
2022-10-29 10:52:05 +00:00
|
|
|
|
|
|
|
static const Duration durationS = Duration(milliseconds: 100);
|
2022-11-26 19:29:00 +00:00
|
|
|
static const Duration durationSM = Duration(milliseconds: 150);
|
2022-10-29 10:52:05 +00:00
|
|
|
static const Duration durationM = Duration(milliseconds: 200);
|
2022-11-29 18:46:23 +00:00
|
|
|
static const Duration durationML = Duration(milliseconds: 250);
|
2022-10-29 10:52:05 +00:00
|
|
|
static const Duration durationL = Duration(milliseconds: 300);
|
2022-12-21 19:31:22 +00:00
|
|
|
|
|
|
|
// `CameraSlider`
|
|
|
|
static const double cameraSliderTrackHeight = grid4;
|
|
|
|
static const double cameraSliderTrackRadius = cameraSliderTrackHeight / 2;
|
|
|
|
static const double cameraSliderHandleSize = 32;
|
|
|
|
static const double cameraSliderHandleIconSize = cameraSliderHandleSize * 2 / 3;
|
2022-10-23 20:09:41 +00:00
|
|
|
}
|