API reference
API reference
Select your platform
No SDKs available
No versions available

SideNavItemDefaults Object

Defaults used in null.SpatialSideNavItem.

Signature

object SideNavItemDefaults

Functions

colors ()
Creates a null.SpatialSideNavItem that will animate between the provided colors.
Signature
fun colors(): SideNavItemColors
colors ( selectedBackgroundColor , selectedPrimaryColor , selectedSecondaryColor , unselectedBackgroundColor , unselectedPrimaryColor , unselectedSecondaryColor )
Creates a null.SpatialSideNavItem that will animate between the provided colors.
Signature
fun colors(selectedBackgroundColor: Color, selectedPrimaryColor: Color, selectedSecondaryColor: Color, unselectedBackgroundColor: Color, unselectedPrimaryColor: Color, unselectedSecondaryColor: Color): SideNavItemColors
Parameters
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.
Returns
  the resulting SideNavItemColors used for the RadioButton
Did you find this page helpful?