Skip to content

Instantly share code, notes, and snippets.

@vishnuharidas-qburst
Created September 22, 2021 11:35
Show Gist options
  • Select an option

  • Save vishnuharidas-qburst/9bc779501614e73ea0f23040938781d3 to your computer and use it in GitHub Desktop.

Select an option

Save vishnuharidas-qburst/9bc779501614e73ea0f23040938781d3 to your computer and use it in GitHub Desktop.
sealed class LedShape {
object Round : LedShape()
object Rectangle : LedShape()
}
data class LedMatrixStyle(
val ledShape: LedShape = LedShape.Rectangle,
val ledWidth: Dp = 15.dp,
val ledHeight: Dp = 15.dp,
val onColor: Color = Color(0xFFFF7E00), // Amber color
val offColor: Color = Color(0xFFEEEEEE), // Light grey
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment