Extension for Flutter to build basic widget tree with nice syntax.
OneChild>MultipleChild[OneChild,MultipleChild[OneChild,OneChild],OneChild>OneChild]
OneChild(
child: MultipleChild(
children: <Widget>[
OneChild(),
MultipleChild(
children: <Widget>[
OneChild(),
OneChild(),
]
),
OneChild(
child: OneChild(),
),
]
),
),
Create single child widget
SingleChildWidget>Child
SingleChildWidget(
child: Child(),
),
Create multiple child widget
MultipleChildWidget[ChildOne,ChildTwo]
MultipleChildWidget(
children: <Widget>[
ChildOne(),
ChildTwo(),
],
),
You can create nested widgets.
MultipleChild[ChildOne,ChildTwo>NestedChild>Child]
MultipleChild(
children: <Widget>[
ChildOne(),
ChildTwo(
child: NestedChild(
child: Child(),
),
),
],
),
Supported language:
- Dart
test dev
npm run test-watch