object SideNavItemDefaults
colors
()
|
Creates a .SpatialSideNavItem that will animate between the provided colors.
Signature
fun colors(): SideNavItemColors Returns |
colors
(
selectedBackgroundColor
, selectedPrimaryColor
, selectedSecondaryColor
, unselectedBackgroundColor
, unselectedPrimaryColor
, unselectedSecondaryColor
)
|
Creates a .SpatialSideNavItem that will animate between the provided colors.
Signature
fun colors(selectedBackgroundColor: Color = Color.Unspecified, selectedPrimaryColor: Color = Color.Unspecified, selectedSecondaryColor: Color = Color.Unspecified, unselectedBackgroundColor: Color = Color.Unspecified, unselectedPrimaryColor: Color = Color.Unspecified, unselectedSecondaryColor: Color = Color.Unspecified): SideNavItemColors Parameters
selectedBackgroundColor:
Color
selectedPrimaryColor:
Color
selectedSecondaryColor:
Color
unselectedBackgroundColor:
Color
unselectedPrimaryColor:
Color
unselectedSecondaryColor:
Color
|