jxBorderRules top-level constant
Borders : bw: (border-width) et br: (border-radius).
Implementation
const List<JxRuleContract> jxBorderRules = [
JxValueRule(
'border-width',
properties: {
'bw': ['border-width'],
'bwt': ['border-top-width'],
'bwr': ['border-right-width'],
'bwb': ['border-bottom-width'],
'bwl': ['border-left-width'],
'bwx': ['border-left-width', 'border-right-width'],
'bwy': ['border-top-width', 'border-bottom-width'],
},
themeCategory: JxThemeCategory.borderWidth,
),
JxValueRule(
'border-color',
properties: {
'bc': ['border-color'],
},
themeCategory: JxThemeCategory.colors,
fallback: _hexColorFallback,
),
JxValueRule(
'border-radius',
properties: {
'br': ['border-radius'],
},
themeCategory: JxThemeCategory.borderRadius,
),
];