getContentMainAxisAlignmtnt method

MainAxisAlignment getContentMainAxisAlignmtnt()

Implementation

MainAxisAlignment getContentMainAxisAlignmtnt() {
  var mainAlignment = MainAxisAlignment.center;
  switch (contentMainAlignment) {
    case GTFGridContentMainAlignment.start:
      mainAlignment = MainAxisAlignment.start;
      break;
    case GTFGridContentMainAlignment.center:
      mainAlignment = MainAxisAlignment.center;
      break;
    case GTFGridContentMainAlignment.end:
      mainAlignment = MainAxisAlignment.end;
      break;
    case GTFGridContentMainAlignment.spaceBetween:
      mainAlignment = MainAxisAlignment.spaceBetween;
      break;
    default:
      mainAlignment = MainAxisAlignment.center;
  }
  return mainAlignment;
}