ToolbarSegmentConfiguration

Configuration for a single toolbar segment.

Properties

Link copied to clipboard
val backgroundColor: Color

The solid color overlay of the segment.

Link copied to clipboard
val contentPadding: PaddingValues

The padding of the segment.

Link copied to clipboard
val cornerSize: Dp

The corner radius of the segment.

Link copied to clipboard
val enableMaterial: Boolean

Whether to render material background for the segment.

Link copied to clipboard
val itemGap: Dp

The gap between items of the segment.

Link copied to clipboard
val minWidth: Dp

The minimum width of the segment.

Functions

Link copied to clipboard
fun copy(enableMaterial: Boolean = this.enableMaterial, backgroundColor: Color = this.backgroundColor, cornerSize: Dp = this.cornerSize, contentPadding: PaddingValues = this.contentPadding, itemGap: Dp = this.itemGap, minWidth: Dp = this.minWidth): ToolbarSegmentConfiguration

Copy the configuration with optional overrides.