Created
September 22, 2021 11:35
-
-
Save vishnuharidas-qburst/9bc779501614e73ea0f23040938781d3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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