jxLayoutRules top-level constant
Positionnement : z:, top:, right:, bottom:, left:, inset:,
ov:, ovx:, ovy:.
Implementation
const List<JxRuleContract> jxLayoutRules = [
JxValueRule(
'z-index',
properties: {
'z': ['z-index'],
},
keywords: {
'0': '0',
'10': '10',
'20': '20',
'30': '30',
'40': '40',
'50': '50',
'auto': 'auto',
},
allowNegative: true,
),
JxValueRule(
'inset',
properties: {
'top': ['top'],
'right': ['right'],
'bottom': ['bottom'],
'left': ['left'],
'inset': ['inset'],
},
themeCategory: JxThemeCategory.spacing,
keywords: _insetKeywords,
allowNegative: true,
),
JxValueRule(
'scroll-margin-top',
properties: {
'smt': ['scroll-margin-top'],
},
themeCategory: JxThemeCategory.spacing,
disallowed: {'auto'},
),
JxValueRule(
'overflow',
properties: {
'ov': ['overflow'],
'ovx': ['overflow-x'],
'ovy': ['overflow-y'],
},
keywords: {
'auto': 'auto',
'hidden': 'hidden',
'clip': 'clip',
'visible': 'visible',
'scroll': 'scroll',
},
allowArbitrary: false,
),
];