dynamic_ui_executor 1.0.0
dynamic_ui_executor: ^1.0.0 copied to clipboard
A powerful Flutter plugin for creating dynamic user interfaces from JSON or string definitions at runtime. Perfect for server-driven UI, A/B testing, and flexible app interfaces.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2024-08-31 #
Added #
- π Initial release of Dynamic UI Executor
- π± Comprehensive widget support (35+ Flutter widgets)
- π Dual format support: JSON and Dart-like string definitions
- β‘ Real-time UI updates without app recompilation
- π― Built-in action handling system
- π¨ Rich styling support with 20+ predefined colors
- π¦ Cross-platform compatibility (iOS, Android, Web, Desktop)
Supported Widgets
Layout Widgets:
- Scaffold, AppBar, Column, Row, Stack, Positioned
- Container, SizedBox, Padding, Center, Expanded, Flexible
- Wrap, SingleChildScrollView, ListView, GridView
Material Widgets:
- Card, ListTile, Divider, Chip
- ElevatedButton, TextButton, OutlinedButton, IconButton
- FloatingActionButton, Switch, TextField
Display Widgets:
- Text, Icon, Image.network, Image.asset
- CircleAvatar
Features
- Color support with predefined and custom colors
- Icon library with 25+ Material icons
- Image handling with error fallbacks
- Responsive layouts with flex widgets
- Action system with parameter passing
- Comprehensive error handling
- Production-ready validation
Technical Details #
- Minimum Flutter version: 3.0.0
- Minimum Dart SDK: 3.0.0
- Platform support: Android, iOS, Web, Linux, macOS, Windows
- Plugin architecture with platform interface
Documentation #
- Comprehensive README with examples
- API documentation
- Usage guides and best practices
- Contributing guidelines
[Unreleased] #
Planned Features #
- Animation support
- Custom widget registration
- Theme integration
- Conditional rendering
- Data binding
- Form validation
- Accessibility improvements
- Performance optimizations
1.0.0 #
Initial Release #
- Dynamic Widget Rendering: Convert JSON or string-based widget definitions into live Flutter widgets
- Comprehensive Widget Support:
- Layout widgets: Scaffold, Column, Row, Stack, Center, Container, Padding
- Display widgets: Text, Image, Icon, Card
- Interactive widgets: ElevatedButton, TextButton
- List widgets: ListView
- Utility widgets: SizedBox, AppBar, Expanded, Flexible
- Action Handling System: Centralized handling for button clicks, navigation, and custom actions
- Advanced Styling Support:
- Text styling (fontSize, fontWeight, color, fontFamily)
- Color parsing (hex, Flutter Colors, RGBA, integer)
- Padding and margin support
- Box decoration and borders
- Validation and Error Handling:
- JSON and string validation before parsing
- Comprehensive error messages
- Custom error widgets
- Debug logging
- Theme Integration: Full theming support with ThemeData parsing
- Cross-Platform: Works on iOS, Android, Web, and Desktop
- Extensible Architecture: Support for custom widget parsers
- Example App: Comprehensive demo showing both string and JSON-based UIs