wt library
Classes
- TimeAgoLabels
- Localisable labels for WtHelper.timeAgo. Supply justNow and a format that turns a count + TimeUnit into a phrase, so any language — including its singular/dual/plural rules — plugs in without touching the framework.
- WtApp
-
WtAsyncView<
T> - WtConfig
-
Global, immutable application configuration (the Flutter equivalent of
wt_config.php). Initialise once inmain()with WtConfig.init. - WtController
- WtHelper
-
WtModel<
T> -
Base Model — a thin, typed HTTP client (the Flutter equivalent of a PHP
model). v1.1 makes it production-ready:
• injects
Authorization: Bearer <token>from the session automatically, • unwraps an optional response envelope (WtConfig.envelopeKey), • surfaces the server error message (WtConfig.messageKey), • exposes low-level getJson/postJson/putJson/deleteJson/ postMultipart so action-style endpoints and file uploads are easy. - WtRoute
- WtRouter
- WtSecurity
- WtSession
- WtUpload
- One file to attach to a multipart request.
- WtView
Enums
- TimeUnit
- Time granularity emitted by WtHelper.timeAgo.
Typedefs
- WtRouteBuilder = WtController Function(RouteSettings settings)