resolveCSSDisplayString static method
Implementation
static String resolveCSSDisplayString(CSSDisplay display) {
switch (display) {
case CSSDisplay.none:
return 'none';
case CSSDisplay.sliver:
return 'sliver';
case CSSDisplay.block:
return 'block';
case CSSDisplay.inlineBlock:
return 'inline-block';
case CSSDisplay.flex:
return 'flex';
case CSSDisplay.inlineFlex:
return 'inline-flex';
case CSSDisplay.inline:
default:
return 'inline';
}
}