widgets_modifiers 0.2.2
widgets_modifiers: ^0.2.2 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 #
Please use latest stable versions as in changelogs. If you are interested in contributing or any bugs are found, please create a post on the widgets_modifiers library repo Wiki page.