Blocks
Start with a complete mobile screen, then adapt its host data, callbacks and theme. Copy the Dart source into your app and use it with the package. All demo records and amounts are synthetic.
Authentication
Section titled “Authentication”| Start here | What you can try |
|---|---|
| Login | Copy a host-owned email/password sign-in screen with validation, show/hide, busy, failure and recovery navigation |
| Register | Copy account creation with password policy help, host failure and host-required email verification |
General product screens
Section titled “General product screens”| Start here | What you can try |
|---|---|
| Collection | Import a lazy viewport for custom paging and states, or copy a Load more block that keeps earlier results |
| Search results | Submit a Find query, cancel a scan or open a match with its excerpt |
Payments
Section titled “Payments”Payment and optional KYC blocks stay in this dedicated category.
| Start here | What you can try |
|---|---|
| Merchant overview | Balance, revenue, method mix, recent transactions and unknown-payment inspection |
| Checkout and recovery | Review with visible fees, lost response, same-attempt check, pending/offline and a confirmed receipt |
| Transaction history | Search and filter server-paged rows, retry a failed page, and inspect payment and refund details |
| Report a problem | Start a report with the transaction reference, retry without retyping and see a host-confirmed case ID |
| KYC review and correction | Read a correction reason, replace a document, review masked identity and await a host verdict |
| Manual VA transfer | Copy a host-issued account, see the exact amount and deadline, and check the same attempt |
| QRIS checkout | Show a host-issued QR image, payee, amount and expiry, then check the same attempt |
| Wallet handoff and return | Open a wallet on the same phone, then check the original payment even if the launch or return didn’t happen |
| Method choice and quote changes | Availability reasons, host-priced fees and total, and explicit re-approval of a changed quote |
| Payment and refund detail | Original payment kept intact, a separate pending/partial/completed refund and a read-only receipt |
| KYC onboarding and consent | Purpose before an unchecked consent box, host fields and validation, and a masked review |
| KYC capture and upload recovery | Synthetic guide and preview, permission, quality and upload errors, retake and retry |
| Payment preferences | Default method and notifications with an explicit, host-confirmed save |
Components, patterns, guides and blocks
Section titled “Components, patterns, guides and blocks”| Section | Use it to |
|---|---|
| Components | Choose a widget and understand its supported props and states |
| Patterns | Understand domain composition, financial invariants and host responsibilities |
| Guides | Solve general layout, forms and loading/empty/error presentation |
| Blocks | Copy a full host composition and run a mobile demo |
A block can use several patterns. Follow its pattern links for the payment or KYC rules behind the screen.
Adoption order
Section titled “Adoption order”- Install the package and configure shared theme tokens.
- Copy the block source and supply your host models and callbacks.
- Apply a scoped family theme when the product needs a shared component look.
- Use a named host preset for a repeated subset, then an inline override only for a justified exception. See theming.
You own auth, networking, durable attempt persistence, quotes and status verdicts, plus routing and platform effects. Demo adapters are not production integrations. Connect the block to your authenticated backend and review your provider’s integration requirements before accepting real payments.
Roadmap and references
Section titled “Roadmap and references”The Payment/KYC block tracker #223 records the work behind this set. Every block listed above has source and a runnable demo.
We use shadcn Blocks as a reference for visible preview/source/file composition, Flutter Templates Finance for mobile screen categories, and FlockUI for copying Dart source into a host app. These are design references; the blocks use this kit’s components and payment/KYC behavior.