flutter_dsl 0.1.2+2
flutter_dsl: ^0.1.2+2 copied to clipboard
A declarative UI helper extension package for Flutter, making your widget tree more expressive and readable.
[0.1.2+2] #
Documentation #
- Fixed dartdoc issues related to angle brackets (
<T>
,<Widget>
) - Applied
dart format .
to match Dart style guidelines and improve pub.dev score
[0.1.2+1] #
Features #
-
expanded()
andflex(n)
toWidgetExtensions
- Easily wrap widgets in
Expanded
orFlexible
- Example:
'Content'.text().expanded()
or.flex(2)
- Easily wrap widgets in
-
row()
andcolumn()
toIterable<Widget>
viaIterableWidgetExtensions
- Convert list of widgets into
Row
orColumn
with DSL-style - Example:
[A, B, C].row()
or.column(...)
- Convert list of widgets into
[0.1.1] #
Documentation #
-
Added
dartdoc
comments to all public extension methods:WidgetModifiers
StringTextExtensions
SpacingExtensions
ConditionalExtensions
-
Updated
README.md
:- Improved feature descriptions and usage examples
- Added badge and link to full example
- Highlighted motivation and future roadmap