PopMenuActionSeparator

public struct PopMenuActionSeparator : Equatable

Action separator structure to control PopMenu item separators.

  • Height of separator.

    Declaration

    Swift

    public let height: CGFloat
  • Color of separator.

    Declaration

    Swift

    public let color: Color
  • Fill separator color with given color and height.

    Declaration

    Swift

    public static func fill(_ color: Color = Color.white.withAlphaComponent(0.5), height: CGFloat = 0.5) -> PopMenuActionSeparator
  • Get separator instance with no separator style.

    Declaration

    Swift

    public static func none() -> PopMenuActionSeparator
  • Equatable operation.

    Declaration

    Swift

    public static func == (lhs: PopMenuActionSeparator, rhs: PopMenuActionSeparator) -> Bool