-
public class RenderDefaultsSPEC-419 render-contract default constants (shared with iOS + console preview). Wrap numbers with .dp in Compose.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerselectRowSpacingprivate final IntegerselectRowGapprivate final IntegerselectRowPaddingVerticalprivate final IntegerselectRowPaddingHorizontalprivate final IntegerselectRowCornerRadiusprivate final IntegerselectedBorderWidthprivate final IntegerunselectedBorderWidthprivate final IntegeroptionTitleFontSizeprivate final IntegeroptionSubtitleFontSizeprivate final IntegerleadingTextFontSizeprivate final IntegertrailingTextFontSizeprivate final IntegerbadgeInsetTrailingprivate final IntegerbadgeHeightprivate final IntegerbadgeFontSizeprivate final IntegerbadgePaddingHorizontalprivate final IntegerbadgePaddingVerticalprivate final StringfocusedBorderColorprivate final StringdefaultBorderColorprivate final StringdefaultSubtitleColorprivate final StringbadgeDefaultBackgroundprivate final StringbadgeDefaultTextpublic final static RenderDefaultsINSTANCE
-
Method Summary
Modifier and Type Method Description final IntegergetSelectRowSpacing()Horizontal spacing between row elements (HStack spacing). final IntegergetSelectRowGap()Vertical gap between option rows (space-y-2). final IntegergetSelectRowPaddingVertical()Row vertical padding (py-2.5). final IntegergetSelectRowPaddingHorizontal()Row horizontal padding (px-3). final IntegergetSelectRowCornerRadius()Row corner radius (rounded-lg). final IntegergetSelectedBorderWidth()Border width of the selected option. final IntegergetUnselectedBorderWidth()Border width of an unselected option. final IntegergetOptionTitleFontSize()Default option title font size. final IntegergetOptionSubtitleFontSize()Default option subtitle font size. final IntegergetLeadingTextFontSize()Default leading_text font size. final IntegergetTrailingTextFontSize()Default trailing_text font size. final IntegergetBadgeInsetTrailing()Badge inset from the trailing (or leading) edge. final IntegergetBadgeHeight()Badge capsule height (its vertical-center sits on the card top border). final IntegergetBadgeFontSize()Badge text font size. final IntegergetBadgePaddingHorizontal()Badge horizontal padding. final IntegergetBadgePaddingVertical()Badge vertical padding. final StringgetFocusedBorderColor()Accent / selected-border fallback colour. final StringgetDefaultBorderColor()Unselected option border colour. final StringgetDefaultSubtitleColor()Default subtitle colour. final StringgetBadgeDefaultBackground()Badge background when not set per-option. final StringgetBadgeDefaultText()Badge text colour when not set per-option. -
-
Method Detail
-
getSelectRowSpacing
final Integer getSelectRowSpacing()
Horizontal spacing between row elements (HStack spacing).
-
getSelectRowGap
final Integer getSelectRowGap()
Vertical gap between option rows (space-y-2).
-
getSelectRowPaddingVertical
final Integer getSelectRowPaddingVertical()
Row vertical padding (py-2.5).
-
getSelectRowPaddingHorizontal
final Integer getSelectRowPaddingHorizontal()
Row horizontal padding (px-3).
-
getSelectRowCornerRadius
final Integer getSelectRowCornerRadius()
Row corner radius (rounded-lg).
-
getSelectedBorderWidth
final Integer getSelectedBorderWidth()
Border width of the selected option.
-
getUnselectedBorderWidth
final Integer getUnselectedBorderWidth()
Border width of an unselected option.
-
getOptionTitleFontSize
final Integer getOptionTitleFontSize()
Default option title font size.
-
getOptionSubtitleFontSize
final Integer getOptionSubtitleFontSize()
Default option subtitle font size.
-
getLeadingTextFontSize
final Integer getLeadingTextFontSize()
Default leading_text font size.
-
getTrailingTextFontSize
final Integer getTrailingTextFontSize()
Default trailing_text font size.
-
getBadgeInsetTrailing
final Integer getBadgeInsetTrailing()
Badge inset from the trailing (or leading) edge.
-
getBadgeHeight
final Integer getBadgeHeight()
Badge capsule height (its vertical-center sits on the card top border).
-
getBadgeFontSize
final Integer getBadgeFontSize()
Badge text font size.
-
getBadgePaddingHorizontal
final Integer getBadgePaddingHorizontal()
Badge horizontal padding.
-
getBadgePaddingVertical
final Integer getBadgePaddingVertical()
Badge vertical padding.
-
getFocusedBorderColor
final String getFocusedBorderColor()
Accent / selected-border fallback colour.
-
getDefaultBorderColor
final String getDefaultBorderColor()
Unselected option border colour.
-
getDefaultSubtitleColor
final String getDefaultSubtitleColor()
Default subtitle colour.
-
getBadgeDefaultBackground
final String getBadgeDefaultBackground()
Badge background when not set per-option.
-
getBadgeDefaultText
final String getBadgeDefaultText()
Badge text colour when not set per-option.
-
-
-
-