WidgetResponse constructor

const WidgetResponse({
  1. required Input<AlertChartResponse> alertChart,
  2. required Input<Map<String, dynamic>> blank,
  3. required Input<CollapsibleGroupResponse> collapsibleGroup,
  4. required Input<ErrorReportingPanelResponse> errorReportingPanel,
  5. required Input<IncidentListResponse> incidentList,
  6. required Input<LogsPanelResponse> logsPanel,
  7. required Input<PieChartResponse> pieChart,
  8. required Input<ScorecardResponse> scorecard,
  9. required Input<TextResponse> text,
  10. required Input<TimeSeriesTableResponse> timeSeriesTable,
  11. required Input<String> title,
  12. required Input<XyChartResponse> xyChart,
})

Creates a new WidgetResponse. alertChart A chart of alert policy data. blank A blank space. collapsibleGroup A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets. errorReportingPanel A widget that displays a list of error groups. incidentList A widget that shows list of incidents. logsPanel A widget that shows a stream of logs. pieChart A widget that displays timeseries data as a pie chart. scorecard A scorecard summarizing time series data. text A raw string or markdown displaying textual content. timeSeriesTable A widget that displays time series data in a tabular format. title Optional. The title of the widget. xyChart A chart of time series data.

Implementation

const WidgetResponse({
  required this.alertChart,
  required this.blank,
  required this.collapsibleGroup,
  required this.errorReportingPanel,
  required this.incidentList,
  required this.logsPanel,
  required this.pieChart,
  required this.scorecard,
  required this.text,
  required this.timeSeriesTable,
  required this.title,
  required this.xyChart,
});