wt_framework 1.2.0 copy "wt_framework: ^1.2.0" to clipboard
wt_framework: ^1.2.0 copied to clipboard

WondTech Flutter MVC framework — controllers, models, views, routing, sessions, and enveloped token-auth API helpers for building structured Flutter apps.

Changelog #

1.2.0 #

  • WtHelper.timeAgo reworked and hardened:
    • Never emits a negative count — future / clock-skewed dates clamp to "just now" instead of -3s ago.
    • Full range: seconds, minutes, hours, days, weeks, months, years (previously fell back to an absolute date after 7 days).
    • Localisable via the new TimeAgoLabels (enShort default, en, ar with correct singular/dual/plural forms) and TimeUnit enum.
    • New assumeUtc, now (testable) and justNowSeconds options.
  • New WtHelper.timeAgoFrom(String?) — parses an ISO-8601 / yyyy-MM-dd HH:mm:ss string and returns '' for null/blank/invalid input (no throw).

1.1.0 #

  • Initial public release of the WondTech Flutter MVC Framework.
  • Core: WtApp, WtRouter for app bootstrap and named-route navigation.
  • MVC: WtController, WtModel, WtView base classes.
  • Helpers: WtHelper, WtSecurity, WtSession utilities.
  • Config: centralized WtConfig settings.
  • Networking: enveloped {state, data, msg} API model with bearer-token auth and multipart image uploads.
  • Example app demonstrating controllers, models, and routing.
0
likes
150
points
69
downloads

Documentation

API reference

Publisher

verified publisherwondtech.com

Weekly Downloads

WondTech Flutter MVC framework — controllers, models, views, routing, sessions, and enveloped token-auth API helpers for building structured Flutter apps.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

crypto, flutter, http, http_parser, intl, shared_preferences

More

Packages that depend on wt_framework