styled_widget 0.2.0 styled_widget: ^0.2.0 copied to clipboard
Simplifying your widget tree structure by defining widget using methods.
Simplifying your widget tree structure by defining widgets using methods.
Thanks to the introduction of extension methods in Dart 2.7.0, styled_widget
makes it possible to build widget tree`s more readable and efficient. It is therefore much easier to focus on the actual design of your app.
final Widget button = Text('button')
.bold()
.padding(all: 5)
.backgroundColor(Colors.amber)
.borderRadius(all: 3);
Showcase #
Design, Code | Design, Code | Design, Code |
---|---|---|
Docs #
See the documentation at styled_widget/wiki for more information about using styled_widget
!
Quicklinks