m3_lightmeter/lib/res/dimens.dart
Vadim 7c20bfe80d Implemented metering dialogs animation
added readings dialog animation (wip)

added offset animation

added size animation

added backgroundColor animation

added borderRadius animation

added opacity animations

fixed closing dialog

added mock dialog for ND
2022-11-30 12:00:48 +03:00

22 lines
798 B
Dart

/// `valueM` represents the base value.
/// All other values differs by 8dp.
class Dimens {
static const double borderRadiusM = 16;
static const double borderRadiusL = 24;
static const double borderRadiusXL = 32;
static const double grid4 = 4;
static const double grid8 = 8;
static const double grid16 = 16;
static const double grid24 = 24;
static const double grid168 = 168;
static const double paddingM = 16;
static const double paddingL = 24;
static const Duration durationS = Duration(milliseconds: 100);
static const Duration durationSM = Duration(milliseconds: 150);
static const Duration durationM = Duration(milliseconds: 200);
static const Duration durationML = Duration(milliseconds: 250);
static const Duration durationL = Duration(milliseconds: 300);
}