TileResponse constructor

const TileResponse({
  1. required Input<int> height,
  2. required Input<WidgetResponse> widget,
  3. required Input<int> width,
  4. required Input<int> xPos,
  5. 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,
});