jxRotateSkewRules top-level constant
Rotation, inclinaison et origine : rot:, skx:, sky:, origin:.
Implementation
const List<JxRuleContract> jxRotateSkewRules = [
JxValueRule(
'rotate',
properties: {
'rot': ['rotate'],
},
keywords: {'none': 'none'},
allowNegative: true,
fallback: _deg,
),
JxValueRule(
'skew',
properties: {
'skx': ['--jx-skew-x'],
'sky': ['--jx-skew-y'],
},
allowNegative: true,
fallback: _deg,
extra: {'transform': _skew},
),
JxValueRule(
'transform-origin',
properties: {
'origin': ['transform-origin'],
},
keywords: _positions,
),
];