Package-level declarations
Types
Receiver of every tile builder's style = { } lambda. Accumulates size, spacing, background, border, clip and window-insets settings and compiles them into a StyleSchema via buildStyle. Every setter (size, margin, padding, background, border, clip, windowInsets) simply overwrites its own field — calling one twice keeps only the last value.
Functions
Fully circular/oval shape — the tile is clipped to an ellipse inscribed in its bounds.
Horizontal gradient background running from startX to endX, with colors spread evenly along the line. Dimensions are in dp; endX left null means the tile's right edge.
Linear gradient background running from start to end, with colors spread evenly along the line. Dimensions are in dp; end left null means the far edge of the tile.
A dp offset used to position gradients (e.g. linearGradient's start/end, radialGradient/sweepGradient's center).
Radial gradient background radiating out from center, with colors spread evenly along the radius. Dimensions are in dp; center left null means the tile's own center, and radius left null means the largest radius that still fits the tile.
Radial gradient background radiating out from center, with explicit color stops. Dimensions are in dp; center left null means the tile's own center, and radius left null means the largest radius that still fits the tile.
Corner radius, in dp, individually per corner — the value fed into roundedCornerShape and border(...).
Plain rectangular shape — no corner rounding, no clipping applied.
Rounded-rectangle shape with a fully custom radius per corner.
Rounded-rectangle shape with the same radius, in dp, applied to all four corners.
Rounded-rectangle shape with an independent radius per corner, in dp.
Solid-color background — the shorthand background(color(...)) form used inside a style = { } block also accepts this explicitly when a custom alpha is needed.
Sweep (conic) gradient background rotating around center, with colors spread evenly around the sweep. center left null means the tile's own center.
Sweep (conic) gradient background rotating around center, with explicit color stops. center left null means the tile's own center.
Vertical gradient background running from startY to endY, with colors spread evenly along the line. Dimensions are in dp; endY left null means the tile's bottom edge.