buildWithSPI method
Builds a Widget using the data extracted from the state.
Implementation
@override
Widget buildWithSPI(AFUICompleteProjectStyleWidgetSPI spi) {
final t = spi.t;
final rows = t.column();
rows.add(t.childMargin(
margin: t.margin.b.size5,
child: t.childText(text: "Opps, project style not complete", style: t.styleOnCard.titleLarge)
));
rows.add(Text("Run", style: t.styleOnCard.bodyMedium));
rows.add(t.childMargin(
margin: t.margin.v.standard,
child: t.childText(text: "dart bin/${AFibD.config.appNamespace}_afib.dart integrate project-style $projectStyle", style: t.styleOnCard.bodyLarge)
));
rows.add(t.childMargin(
margin: t.margin.b.s5,
child: Text("from the project root folder to complete setup.", style: t.styleOnCard.bodyMedium)
));
return Card(child:
t.childMargin(
margin: t.margin.standard,
child: Column(children: rows)
));
}