An advanced, high-performance QR code generator built for Sketchware Pro using com.github.alexzhirkevich:custom-qr-generator:1.6.2. A custom @JvmStatic Kotlin Wrapper (QrWrapper.kt) is implemented to execute Kotlin DSL parameters natively within the Java environment.
Core Features:
Ultra HD Resolution (2K): Generates QR codes on a strict 2048x2048 matrix. Exports to device storage using 100% lossless PNG compression.
Advanced Styling: Features circular data pixels, circular eyes, rounded frame corners, and a vertical linear gradient (#4A00E0 to #8E2DE2).
Smart Logo Injection: Center logo (img) is programmatically masked into a circle with a QrLogoPadding.Natural(0.2f) clear-zone to prevent dot overlap.
Material Design UI: Programmatic UI featuring 50f corner radius, 20f elevations, dynamic gradients, and System UI synchronization for dark status/nav bar icons.
Compilation Requirements:Ensure these parameters are strictly set in Sketchware Pro: Compiler: Enable D8 Dexer and Kotlin support. Library: Toggle ON Appcompat and Design.
Dependencies: Inject com.google.zxing:core:3.5.3 via Local Library Manager.
Gradle: Add maven { url 'https://jitpack.io' } in Custom build.gradle (App level).
Permissions: Enable WRITE_EXTERNAL_STORAGE and READ_EXTERNAL_STORAGE.
©2026 Sketchub | User Policy