Tash
07/06/2021, 9:52 PMDaniele Segato
07/06/2021, 9:58 PMTash
07/06/2021, 11:58 PMmattinger
07/16/2021, 7:27 PMobject Dimensions {
val DefaultPaddingVertical = 16.dp
}
mattinger
07/16/2021, 7:27 PMval DefaultPaddingVertical: Dp
@Composable get() =
when { ... }
Tash
07/16/2021, 7:35 PMFor most dimensions though, i just generally create an object and put the constants in there:yeah leaning towards doing more of this for every “macro” component
for ones that change based on qualifiers, you can easily adapt:ahh, this is interesting; hadn’t thought about doing it this way