object SideNavItemDefaults
colors
()
|
Creates a SpatialSideNavItem that will animate between the provided colors.
Signature
fun colors(): SideNavItemColors Returns SideNavItemColors |
colors
(
selectedBackgroundColor
, selectedPrimaryColor
, selectedSecondaryColor
, unselectedBackgroundColor
, unselectedPrimaryColor
, unselectedSecondaryColor
)
|
Creates a SpatialSideNavItem that will animate between the provided colors.
Signature
fun colors(
selectedBackgroundColor: Color,
selectedPrimaryColor: Color,
selectedSecondaryColor: Color,
unselectedBackgroundColor: Color,
unselectedPrimaryColor: Color,
unselectedSecondaryColor: Color,
): SideNavItemColorsParameters selectedBackgroundColor: Color
the color to use for the RadioButton when selected and enabled.
selectedPrimaryColor: Color
the color to use for the RadioButton's inner dot when selected and enabled.
selectedSecondaryColor: Color
the color to use for the RadioButton when unselected and enabled.
unselectedBackgroundColor: Color
the color to use for the RadioButton when disabled and selected.
unselectedPrimaryColor: Color
the color to use for the RadioButton's inner dot when disabled and selected.
unselectedSecondaryColor: Color
the color to use for the RadioButton when disabled and not selected.
|