build method

  1. @override
Widget build(
  1. BuildContext context,
  2. MiniViewModel model
)
override

Builds the UI according to the state in model.

Implementation

@override
Widget build(BuildContext context, MiniViewModel model) => ColoredBox(
  color: binghamtonGreen,
  child: Row(
    children: [
      MessageDisplay(showLogs: false),
      const Spacer(),
      if (model.footerWidget != null) model.footerWidget!.call(context),
    ],
  ),
);