Theme
1. Basic Theme
val theme = FingerprintTheme(
companyName = "My Company",
logo = Logo.Url("https://example.com/logo.png"),
color = "#f7cd46"
)
2. Logo from Drawable Resource
val theme = FingerprintTheme(
companyName = "My Company",
logo = Logo.Drawable(R.drawable.logo),
color = "#f7cd46"
)
3. Theme Validation
companyNamecannot be blankcolormust be a valid hex color (e.g. #f7cd46)logoURL cannot be blank (if using Logo.Url)
Info
The theme is validated when creating FingerprintTheme - invalid themes will throw IllegalArgumentException.