worldcredit_badge 1.2.6
worldcredit_badge: ^1.2.6 copied to clipboard
World Credit Trust Badge SDK for Flutter — embed verified trust scores in any app. Inline, pill, card, and shield badge styles.
1.2.4 #
- Fix: Shield badge uses actual World Credit shield logo (rounded square, like web SDK) instead of plain circle with W letter
- Matches web SDK appearance: shield logo + tier-colored checkmark dot
1.2.3 #
- Fix: Shield badge redesigned — replaced oversized app icon with clean circular "W" + tier-colored dot
- Fix: Shield dot properly positioned, no more clipping or misalignment
1.2.2 #
- Fix: Gold/Silver tier text nearly invisible in light mode — bright colors now darkened for readability
- Fix: Shield badge verification dot cut off and misaligned — proper overflow handling and centering
- Fix: Removed customizable
logoUrl— World Credit logo is always shown as the trust mark
1.2.1 #
- Fix:
BadgeData.fromJsoncrash —linkedNetworksreturned as int (count) from API, not list;categoriesreturned as list of objects, not strings - Fix: Email passed as
handleto_fetchAndCachecausing misleading error logs - Fixed card badge rendering for linked networks count and category objects
1.2.0 #
- Added email-based lookup — pass
emailinstead ofhandlefor B2B integrations - All badge widgets now accept optional
emailparameter - API client supports
emailquery parameter - Companies can now look up users by email (which they already have) instead of World Credit handles
1.1.0 #
- Added unverified badge state for users without a World Credit account
- Inline: "Not Verified" in muted gray
- Pill: "—" score with "NOT VERIFIED" tag
- Card: "Not Verified" with "GET VERIFIED →" CTA
- Shield: "?" instead of checkmark
- Added
verifiedfield to BadgeData model - Unverified badges link to world-credit.com/signup
1.0.3 #
- Moved Package.swift to repo root for proper SPM compatibility
- No code changes — metadata only
1.0.1 #
- Added API key configuration to Quick Start documentation
- API key is required — get yours at world-credit.com
1.0.0 #
- Initial release
- Four badge styles: inline, pill, card, shield
- Dark and light themes
- Three sizes: sm, md, lg
- API key authentication support
- Built-in caching with configurable TTL
- Programmatic data fetching via
WorldCreditBadge.fetch()