build method
Implementation
@override
FWidget<T> build() => FPadding.all(app, 8,
child: FColumn(app,
gap: 8,
children: [
FButton(app,
onClickFn: (_) => debugWidget.setState(() {
debugWidget.selectedEntity = null;
}),
child: FPadding.symmetric(app, 4, 8,
child: FLabel(app, text: 'BACK'),
),
),
FExpanded(app,
child: FSingleChildScrollView(app,
autoScrollY: false,
child: FColumn(app,
gap: 4,
children: [
...targetEntity._components.map((e) => FButton(app,
onClickFn: (_) => debugWidget.setState(() {
debugWidget.compWidget.targetComp = e;
debugWidget.selectedComp = e;
}),
child: FPadding.symmetric(app, 4, 8,
child: FLabel(app, text: e.name),
),
)),
],
),
),
),
],
),
);