PickerSeparatorConfiguration

public struct PickerSeparatorConfiguration

Configuration for the separator used inside picker components such as DurationPicker, DateTimePicker, ValuePicker and DateRangePicker.

  • Whether to show the separator.

    Declaration

    Swift

    public let showSeparator: Bool
  • Color of the separator.

    Declaration

    Swift

    public let color: Color
  • Width of the separator line.

    Declaration

    Swift

    public let lineWidth: CGFloat
  • Creates a new picker separator configuration.

    Declaration

    Swift

    public init(showSeparator: Bool, color: Color, lineWidth: CGFloat)

    Parameters

    showSeparator

    Whether to show the separator.

    color

    Color of the separator.

    lineWidth

    Width of the separator line.