build method

Widget build(
  1. BuildContext context
)

Implementation

Widget build(BuildContext context) {
  Widget widget = builder(context);
  if (withScaffold) {
    widget = PageScaffold(
      title: title,
      padding: padding,
      showLog: showLog,
      body: widget,
    );
    widget = LogListenerScope(
      child: widget,
      logEmitter: getGlobalLogEmitter(),
    );
  } else if (showLog) {
    widget = VerticalLogPanel(child: widget);
    widget = LogListenerScope(
      child: widget,
      logEmitter: getGlobalLogEmitter(),
    );
  }
  return widget;
}