mapperJustifyContentCSS function

String mapperJustifyContentCSS(
  1. JustifyContentCSS value
)

Implementation

String mapperJustifyContentCSS(JustifyContentCSS value) {
  switch (value) {
    case JustifyContentCSS.flexStart:
      return 'flex-start';
    case JustifyContentCSS.flexEnd:
      return 'flex-end';
    case JustifyContentCSS.center:
      return 'center';
    case JustifyContentCSS.spaceBetween:
      return 'space-between';
    case JustifyContentCSS.spaceAround:
      return 'space-around';
    case JustifyContentCSS.spaceEvenly:
      return 'space-evenly';
  }
}