AlignContent

public enum AlignContent
  • Default value. Lines stretch to take up the remaining space

    Declaration

    Swift

    case stretch
  • Lines are packed toward the start of the flex container

    Declaration

    Swift

    case start
  • Lines are packed toward the center of the flex container

    Declaration

    Swift

    case center
  • end

    Lines are packed toward the end of the flex container

    Declaration

    Swift

    case end
  • Lines are evenly distributed in the flex container, with half-size spaces on either end Play it »

    Declaration

    Swift

    case spaceAround