props property
Convert border attributes to CSS styles.
Implementation
@override
Map<String, String> get props => {
if (_isNone) ...{
'border': 'unset',
} else if (top != null ||
right != null ||
bottom != null ||
left != null) ...{
'border-top': ?top?.value,
'border-right': ?right?.value,
'border-bottom': ?bottom?.value,
'border-left': ?left?.value,
} else if (!_isOnly) ...{
'border': '${width.cssText} ${style.value} ${color.value}',
},
...?radius?.props,
};