declar_ui 0.0.4
declar_ui: ^0.0.4 copied to clipboard
Declar UI is a declarative and composable Flutter UI framework by UpDown Interactive. It offers a fluent, SwiftUI-inspired syntax for building clean, modern Flutter interfaces using expressive, chai [...]
0.0.4 #
Updates #
New Features #
ScreenUtility (screen.dart): Introduced a comprehensive utility for responsive UI development, providing easy access to device dimensions, orientation, platform, safe area insets, keyboard visibility, and accessibility settings viaBuildContextextensions.ConstantsUtility (constants.dart): Added a set of predefined, scalable design constants for consistent spacing (DSize) and corner radii (DRadius), promoting visual harmony across UI components.
Improvements #
- README Update: The
README.mdhas been significantly updated to include detailed documentation and examples for the newScreenandConstantsutilities, along with general enhancements for clarity and professionalism. - Code Structure: Organized new utilities into dedicated files (
screen.dart,constants.dart) within thelib/widgetsdirectory for better modularity.
0.0.2 #
Material App update #
MaterialAppnow supportsrouterConfigfor declarative routing.- Added
themeModeanddarkThemeproperties toMaterialAppfor better theme management.
0.0.1 #
Initial Stable Release — Declar UI #
The first public release of Declar UI, a declarative and composable Flutter UI framework developed by UpDown Interactive.
Highlights #
- Introduced declarative Flutter widget wrappers:
Text,Container,Row,Column,SizedBox,Icon,Image,MaterialApp, andStack
- Added extension modifiers for all widgets:
.padding(),.backgroundColor(),.radius(),.border(),.center(),.align(),.size(),.opacity(),.visible(),.onTap(),.rotate(), and more
- Implemented SwiftUI-like fluent syntax for expressive, chainable widget configuration
- Added comprehensive unit and widget test coverage
- Included developer-friendly documentation comments and structured code organization
- Fully compatible with Flutter 3.16+
Summary #
This release establishes the foundation of Declar UI — bringing clean, functional, and declarative design principles to Flutter development.