Carminelaface
06/23/2020, 9:26 AM/**
* Contains the default values used by [Button]
*/
object Button {
/**
* The default inner padding used by [Button]
*/
val DefaultInnerPadding = ...
/**
* The default disabled background color used by Contained [Button]s
*/
@Composable
val defaultDisabledBackgroundColor
/**
* The default disabled content color used by all types of [Button]s
*/
@Composable
val defaultDisabledContentColor
}
This is not only for the button but for many other views.
I think a better naming for the object would be ButtonDefalutValues
or ButtonDefaluts
and remove the default
suffix from all the properties.