pilot_ui 0.0.2
pilot_ui: ^0.0.2 copied to clipboard
A dynamic, theme-aware JSON UI rendering engine for Flutter with extensible parsers, action handlers, and ready-to-use smart dispatch & RTS action components.
0.0.2 #
- RtsActionCard Refactoring & Enhancements:
- Refactored
RtsActionCardto accept a consolidateddatamap instead of individual parameters. - Added
onButtonTapcallback for handling action triggers. - Moved data parsing and property extraction to private getters within
_RtsActionCardState. - Updated example app and unit tests to reflect the new component API.
- Refactored
0.0.1 #
- Initial release of
pilot_ui. - Dynamic JSON UI Engine:
- Core
PilotBuilderwidget for compiling JSON definitions into interactive, responsive Flutter widget trees. - Extensible
PilotRegistrysystem for registering custom widget parsers and action handlers. - State management and dynamic context evaluation through
PilotStateContextandEvaluator. - AST caching and performance optimization for rapid expression parsing.
- Theme resolution and responsive layout helpers (breakpoints, adaptive sizes).
- Core
- Comprehensive Widget Parser Suite:
- Layout:
Container,Column,Row,Flex,Stack,ListView,Expanded,Wrap,SafeArea. - Display:
Text,Icon,CachedImage,Card,Avatar,Badge,ProgressIndicator,GlassContainer. - Input & Interactive:
TextField,Checkbox,ElevatedButton,TextButton. - Navigation & App Structure:
AppBar,BottomNavigationBar,FloatingActionButton,PageView,TabView.
- Layout:
- Built-in Action Handlers:
showDialog,showBottomSheet,setState,emitEvent.
- Specialized Fleet & Logistics Components:
RtsActionCard: Feature-rich, interactive Return-to-Station (RTS) event cards with severity tags, AI diagnosis panels, expandable reasons, and confirmation bottom sheets.DynamicActionButtons: Configurable action buttons with icon mapping and callback routing.PilotComponents.registerAll()helper to quickly register pre-built specialized components.