Colton Idle
06/06/2022, 1:30 PMOutlinedButton(
modifier = Modifier.fillMaxWidth().heightIn(min = 48.dp),
colors =
ButtonDefaults.outlinedButtonColors(
backgroundColor = if (toggle) CompanyPrimaryColor else Color.White))
Stylianos Gakis
06/06/2022, 1:40 PMAlbert Chang
06/06/2022, 2:22 PMSurface
would be easier.
Plus that since this is a toggleable button you should build it yourself anyway using Modifier.toggleable()
for better a11y.Chris Sinco [G]
06/06/2022, 2:57 PMStylianos Gakis
06/06/2022, 3:02 PMStylianos Gakis
06/06/2022, 3:03 PMColton Idle
06/06/2022, 3:06 PMChris Sinco [G]
06/06/2022, 3:26 PMChris Sinco [G]
06/06/2022, 3:26 PMColton Idle
06/06/2022, 3:57 PM