build method
- @override
- BuildContext context,
- FooterViewModel model
override
Builds the UI according to the state in model.
Implementation
@override
Widget build(BuildContext context, FooterViewModel model) => ColoredBox(
color: binghamtonGreen,
child: Wrap(
crossAxisAlignment: WrapCrossAlignment.center,
alignment: WrapAlignment.spaceBetween,
children: [
MessageDisplay(showLogs: showLogs),
VoltageWarning(model: model),
StatusIcons(model: model),
],
),
);