widgets_modifiers 0.1.0
widgets_modifiers: ^0.1.0 copied to clipboard
Flutter library that transform common-use widgets into companion modifiers, collapsing Flutter tree-like code structure.
Flutter library that transform common-use widgets into companion modifiers, collapsing Flutter tree-like code structure.
Features #
Ready-to-use flutter UI modifiers.
Getting started #
If you desire to flatten widget build tree nesting widgets, or to optimize current Flutter code.
Usage #
@override
Widget build(BuildContext context) {
return Scaffold(
body: Wrap(
children: [
Text("Padding master").padding(bottom: 16),
ColoredBox(color: Colors.green).frame(width: 100, height: 160)
]
)
);
}
Additional information #
Latest version and changelogs can be found at https://github.com/CW-Henry/widget_modifiers. If you are interested in contributing or studying the docs, please visit https://github.com/CW-Henry/widget_modifiers.