MosaicLayoutResponse class

A mosaic layout divides the available space into a grid of blocks, and overlays the grid with tiles. Unlike GridLayout, tiles may span multiple grid blocks and can be placed at arbitrary locations in the grid.

Constructors

MosaicLayoutResponse({required Input<int> columns, required Input<List<TileResponse>> tiles})
Creates a new MosaicLayoutResponse. columns The number of columns in the mosaic grid. The number of columns must be between 1 and 12, inclusive. tiles The tiles to display.
const
MosaicLayoutResponse.fromMap(Map<String, dynamic> map)
factory

Properties

columns → Input<int>
The number of columns in the mosaic grid. The number of columns must be between 1 and 12, inclusive.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tiles → Input<List<TileResponse>>
The tiles to display.
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