uidl_flutter 0.1.5
uidl_flutter: ^0.1.5 copied to clipboard
Flutter runtime for UIDL documents: parse, bind, evaluate expressions, dispatch actions, and render native widgets.
0.1.5 #
- API Action: Full HTTP client integration with method, body, headers, and result/error state paths.
- Query Action: Database query execution with target, params, and result/error state paths.
- Theme Integration:
UidlThemeAdapterto convert between UIDL themes and FlutterThemeData. - State Management:
UidlDocumentState(ChangeNotifier) for reactive state withgetState,setState,executeAction. - Accessibility:
semanticLabelandtooltipprops for screen readers and tooltips. - Animation:
animationprop forAnimatedSwitchertransitions. - Icon Widget: 150+ icon names mapped to Flutter
IconDatawithname,size,colorprops. - Image Widget: Support for network, asset (
asset://), file (file://), and base64 (data:image/) images withwidth,height,fitprops and error placeholder. - Slider Widget: Configurable
minandmaxprops (default 0.0-1.0). - TextField Widget:
obscureText,readOnly,enabledprops with improved state sync. - ListView Widget:
shrinkWrapandscrollableprops for performance control. - @immutable annotations: Models annotated for better static analysis.
- Stricter lint rules: 30+ additional lint rules in
analysis_options.yaml. - Bug fixes: Fixed
ThemeResolver.parseColorcrash withColor(int)in Dart 3.x. - Tests: 134 tests passing including new API, Query, Theme, and State tests.
0.1.4 #
- First pub.dev release, version-aligned with npm
uidl-runtime0.1.4. - Parse UIDL documents, evaluate expressions, resolve
$bind, dispatch actions. - Render the 37-type catalog to Flutter widgets (DataTable, Chart, Dialog, Kanban, TreeView, and code marks included).
- Reject document
setStateinto the reserved$dataenvelope (INVALID_STATE).