build method
Builds this widget using the output context.
The build method is responsbile for building the tree of widgets below this one. It must never invoke the build or render methods of other widgets.
Implementation
@override
OutputWidget build(final OutputContext context) {
return OutputWidgetList([
ProgressStreamWidget<Map<String, Object?>>(
initialMessage: 'Wiping database for project "$projectId"',
newParagraph: true,
),
const SuccessTextWidget('Database wiped successfully.'),
InfoTextWidget('Redeploy is needed, run: $baseCommand deploy'),
]);
}