Widget class

Widget contains a single dashboard component and configuration of how to present the component in the dashboard.

Constructors

Widget({Input<AlertChart>? alertChart, Input<Map<String, dynamic>>? blank, Input<CollapsibleGroup>? collapsibleGroup, Input<ErrorReportingPanel>? errorReportingPanel, Input<String>? id, Input<IncidentList>? incidentList, Input<LogsPanel>? logsPanel, Input<PieChart>? pieChart, Input<Scorecard>? scorecard, Input<Text>? text, Input<TimeSeriesTable>? timeSeriesTable, Input<String>? title, Input<XyChart>? xyChart})
Creates a new Widget. 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. id Optional. The widget id. Ids may be made up of alphanumerics, dashes and underscores. Widget ids are optional. 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.
const
Widget.fromMap(Map<String, dynamic> map)
factory

Properties

alertChart → Input<AlertChart>?
A chart of alert policy data.
final
blank → Input<Map<String, dynamic>>?
A blank space.
final
collapsibleGroup → Input<CollapsibleGroup>?
A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets.
final
errorReportingPanel → Input<ErrorReportingPanel>?
A widget that displays a list of error groups.
final
hashCode → int
The hash code for this object.
no setterinherited
id → Input<String>?
Optional. The widget id. Ids may be made up of alphanumerics, dashes and underscores. Widget ids are optional.
final
incidentList → Input<IncidentList>?
A widget that shows list of incidents.
final
logsPanel → Input<LogsPanel>?
A widget that shows a stream of logs.
final
pieChart → Input<PieChart>?
A widget that displays timeseries data as a pie chart.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scorecard → Input<Scorecard>?
A scorecard summarizing time series data.
final
text → Input<Text>?
A raw string or markdown displaying textual content.
final
timeSeriesTable → Input<TimeSeriesTable>?
A widget that displays time series data in a tabular format.
final
title → Input<String>?
Optional. The title of the widget.
final
xyChart → Input<XyChart>?
A chart of time series data.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited