build method

  1. @override
Widget build(
  1. BuildContext context,
  2. 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),
    ],
  ),
);