MrzScannerTheme

Brand and appearance options for the scanner screen's own theme.

Since

0.5.0

Types

Link copied to clipboard
class Builder

Collects MrzScannerTheme options; reached through MrzScannerConfig.Builder.theme.

Properties

Link copied to clipboard

Accent color as a packed 0xAARRGGBB Long, such as 0xFF00695CL. Replaces the theme's primary color; the text color on it is black when the accent's luminance is above 0.5, otherwise white. null (default) keeps the built-in accent.

Link copied to clipboard

Light or dark appearance. Default DarkMode.AUTO.

Link copied to clipboard

Uses Material You dynamic color on Android 12 (API 31) and later. Default false; has no effect below Android 12.