getContentCrossAxisAlignmtnt method

CrossAxisAlignment getContentCrossAxisAlignmtnt()

Implementation

CrossAxisAlignment getContentCrossAxisAlignmtnt() {
  var crossAlignment = CrossAxisAlignment.center;
  switch (contentCrossAlignment) {
    case GTFGridContentCrossAlignment.start:
      crossAlignment = CrossAxisAlignment.start;
      break;
    case GTFGridContentCrossAlignment.center:
      crossAlignment = CrossAxisAlignment.center;
      break;
    case GTFGridContentCrossAlignment.end:
      crossAlignment = CrossAxisAlignment.end;
      break;
    default:
      crossAlignment = CrossAxisAlignment.center;
  }
  return crossAlignment;
}