Stylish Connected Button Item
Immutable data describing a single button within a Connected Button layout.
Connected Button layouts arrange multiple buttons edge-to-edge with shared corner geometry (see com.segnities007.stylishui.foundation.ConnectedCorners). Each item in the layout is represented by one instance of this class. The consuming composable iterates over a List<StylishConnectedButtonItem> and applies the appropriate shape and outline per position.
See also
Constructors
Properties
Optional ButtonColors override for this specific button. When null, the consuming layout applies its default color mapping.
Optional composable slot rendered before the main content (e.g. an icon). Receives RowScope for weight/alignment control. null omits the slot.
The action invoked when the button is tapped. When null, the button renders as display-only per the com.segnities007.stylishui.foundation.isActionable contract — no ripple, no click handling.
Optional composable slot rendered after the main content (e.g. a badge or chevron). Receives RowScope. null omits the slot.