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< ? blank, Input<String, dynamic> >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.
alertChartA chart of alert policy data.blankA blank space.collapsibleGroupA widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets.errorReportingPanelA widget that displays a list of error groups.idOptional. The widget id. Ids may be made up of alphanumerics, dashes and underscores. Widget ids are optional.incidentListA widget that shows list of incidents.logsPanelA widget that shows a stream of logs.pieChartA widget that displays timeseries data as a pie chart.scorecardA scorecard summarizing time series data.textA raw string or markdown displaying textual content.timeSeriesTableA widget that displays time series data in a tabular format.titleOptional. The title of the widget.xyChartA 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