TileResponse constructor
const
TileResponse({
- required Input<
int> height, - required Input<
WidgetResponse> widget, - required Input<
int> width, - required Input<
int> xPos, - required Input<
int> yPos,
Creates a new TileResponse.
height The height of the tile, measured in grid blocks. Tiles must have a minimum height of 1.
widget The informational widget contained in the tile. For example an XyChart.
width The width of the tile, measured in grid blocks. Tiles must have a minimum width of 1.
xPos The zero-indexed position of the tile in grid blocks relative to the left edge of the grid. Tiles must be contained within the specified number of columns. x_pos cannot be negative.
yPos The zero-indexed position of the tile in grid blocks relative to the top edge of the grid. y_pos cannot be negative.
Implementation
const TileResponse({
required this.height,
required this.widget,
required this.width,
required this.xPos,
required this.yPos,
});