rakit_ui 0.2.0
rakit_ui: ^0.2.0 copied to clipboard
Rakit UI: composable Flutter UI for optional identity verification (KYC), checkout, host-owned authorization, payment instructions, payment status and receipts. Host callbacks own every business decis [...]
Unreleased #
Docs site #
These update https://rakit-ui.netlify.app.
- The homepage is now a product page, with a hero, a checkout recovery flow, benefits, an ownership table, checkable proof, an FAQ and a clear "Build your checkout" path. It adds a descriptive title with schema.org data, a JPEG social preview, robots.txt with the sitemap and an up-to-date llms.txt.
- A new Try it page and a corrected
../flutter_ui_paymentpath-dependency example. - The homepage lets you switch between success, pending, unknown and changed-total payment screens, shows real component specimens and compares the Hairline and Soft looks.
- A header with section links and Get started, a homepage footer and contact section, and a copy button for the install command. The contact link opens a new GitHub issue, the footer attribution link has a 44 px tap target, and header buttons don't animate under reduced motion.
- The homepage is about 30% shorter on phones: the recovery demo is a sideways strip, the brand looks sit side by side, and repeated copy is gone.
- The documentation site moves to https://rakit-ui.netlify.app. Links to https://flutter-ui-payment.netlify.app redirect to the same page.
- A new guide for adopting Rakit in an existing branded app, with copy-runnable component snippets.
- Buttons and links respond to presses, landing sections fade in, and menus, search and the phone sidebar animate open and closed; everything stays still with reduced motion or without JavaScript, including when reduced motion is turned on while a page is open.
- Component pages drop Stripe prop-mapping tables and Stripe names in API descriptions, repeated host-ownership callouts and internal example-scenario codes; component behavior, API and example screens remain.
0.2.0 #
Requires Dart ^3.12.0 and Flutter >=3.44.0. Flutter SDK remains the only runtime dependency.
- PaymentSettingsView can show a disabled Save with a reason.
- PaymentSearchField shows the host's error above selectable results in the open search sheet, with Retry for host-driven queries.
- Apps can translate Rakit strings and chart numbers through a
PaymentLocalizationssubclass, including the newformatNumbermember. Breaking: exportedKitStringsandPaymentStatusLabelextension names were removed, affecting code that explicitly names them or imports withshow KitStrings/show PaymentStatusLabel; ordinaryPaymentLocalizations.of(context).xcalls keep working. - Improve disabled Save accessibility, protect kit button sizing from host themes, fix narrow large-text docs layouts and flow-strip focusability, and provide runnable localization examples.
- Names deprecated in 0.1.0 (for example
StatusBadge,NoticeBanner,ActionTile,ActionMenu,AmountInput,ExpandableSection,showPaymentSnackBar,pageAction,learnMore,AmountText.emphasisand the DataTable reorder/resize flags) still compile in 0.2.0. Their removal moves to 0.3.0 (D123).
Migrating from 0.1.0 #
The kit strings are now instance members of PaymentLocalizations, so a call on the localizations object compiles unchanged. Only code that names the removed extensions needs an edit:
// 0.1.0
import 'package:rakit_ui/rakit_ui.dart' show PaymentLocalizations, KitStrings, PaymentStatusLabel;
final label = PaymentStatusLabel(PaymentLocalizations.of(context)).paymentStatusShort(status);
final save = KitStrings(PaymentLocalizations.of(context)).save;
// 0.2.0
import 'package:rakit_ui/rakit_ui.dart' show PaymentLocalizations;
final label = PaymentLocalizations.of(context).paymentStatusShort(status);
final save = PaymentLocalizations.of(context).save;
0.1.0 #
First Rakit UI release, continuing the previously published flutter_ui_payment 0.1.0.
- Rename the package to
rakit_ui, with canonical importpackage:rakit_ui/rakit_ui.dart. Existing widget/model names and runtime behavior are unchanged; replace the old dependency and imports.
First public release. Requires Dart ^3.12.0 and Flutter >=3.44.0; targets Android and iOS phones and tablets.
- Composable checkout, method selection, quote-change approval, payment instructions, pending/unknown/failed status, receipts, refunds and transaction history.
- Optional identity verification UI for consent, document capture guidance, upload recovery, review and correction. Hosts own camera access, uploads and KYC decisions.
- Foundation components for buttons, forms, selection, navigation, overlays, feedback, tables, charts, loading and empty states.
- Semantic theme tokens, scoped component themes, typed styles and slots for host customization, with light/dark examples and English/Indonesian localization.
- Accessible interaction targets, large-text layouts and reduced-motion behavior, with focused widget and host story tests. See the compatibility guide for tested environments and remaining limits.
- Copyable mobile blocks, a runnable synthetic example app, API documentation and backend integration guidance at https://flutter-ui-payment.netlify.app.
- Flutter SDK is the only runtime dependency. Network, authorization, secrets, payment processing, polling and platform operations belong to the host.
Pre-release implementation history is preserved in the repository's Git history and decision records.