StrategyFormula typedef
StrategyFormula =
double Function(double base, DimenMetrics metrics, DpQualifier effectiveQualifier, bool applyAspectRatio, double? customSensitivityK)
Pure strategy formula over a resolved axis: receives the base value, the coherent snapshot, the effective (post-inverter) qualifier, the aspect ratio flag and the custom sensitivity.
Implementation
typedef StrategyFormula = double Function(
double base,
DimenMetrics metrics,
DpQualifier effectiveQualifier,
bool applyAspectRatio,
double? customSensitivityK,
);