declar_ui 0.0.6 copy "declar_ui: ^0.0.6" to clipboard
declar_ui: ^0.0.6 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.6 #

  • Minor hotfix to Group Widget

0.0.5 #

New Features #

  • Group Widget (group.dart) Introduced a powerful layout utility widget that enables grouping multiple widgets under a unified configuration. Supports:

    • Vertical, horizontal, and stacked layouts

    • Shared modifiers across all children (padding, decoration, frame sizing, alignment, spacing)

    • Container-like wrapping with decoration, background, overlay, tap gestures, and animation support

    • Per-layout alignment

      • makeVertical(main:, cross:)
      • makeHorizontal(main:, cross:)
      • makeStack(alignment:)
    • Unified fluent-style modifier API

      • .padding(), .backgroundColor(), .cornerRadius(), .frame(), .spacing(), .overlayView(), .backgroundView(), .onTapGesture(), .animation(), and more.

This widget significantly enhances Declar UI’s composability by allowing complex layouts to be expressed in a compact and expressive manner.

Improvements #

  • Internal utility cleanup and alignment updates for consistency with other Declar UI widgets.
  • Documentation comments added to group.dart for clear API usage.

0.0.4 #

Updates #

New Features #

  • Screen Utility (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 via BuildContext extensions.
  • Constants Utility (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.md has been significantly updated to include detailed documentation and examples for the new Screen and Constants utilities, along with general enhancements for clarity and professionalism.
  • Code Structure: Organized new utilities into dedicated files (screen.dart, constants.dart) within the lib/widgets directory for better modularity.

0.0.3 #

Widget Declar Retracted #


0.0.2 #

Material App update #

  • MaterialApp now supports routerConfig for declarative routing.
  • Added themeMode and darkTheme properties to MaterialApp for 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, and Stack
  • 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.

3
likes
140
points
208
downloads

Publisher

verified publisherupdown-interactive.in

Weekly Downloads

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, chainable modifiers. Declar UI reimagines core widgets into lightweight, immutable components that enhance readability, reduce boilerplate, and scale elegantly.

Repository (GitHub)
View/report issues

Topics

#declarative #ui #framework #flutter #design-system

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on declar_ui