cssText method

String cssText()

Implementation

String cssText() {
  if (length != null) {
    return length!.cssText();
  }
  if (percentage != null) {
    return '${((percentage! * 100 + 100) / 100 * 50).cssText()}%';
  }
  if (calcValue != null) {
    return '${(calcValue!.computedValue('') as double).cssText()}px';
  }
  return '';
}