StyleSchemaBuilderScope
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
Registers builder as a child of this scope, snapshotting the CompositionLocal values currently active (via BuildContext.get) into GenericBuilder.compositionLocals — captured now, at DSL-call time, not later when build actually invokes it. Called once per nested DSL call (SimpleText(...), SendNetworkRequest(...), etc.) by each such call's own top-level builder function.
Sets the tile's background, built with solidColor or one of the gradient helpers (linearGradient, horizontalGradient, verticalGradient, radialGradient, sweepGradient).
Sets a solid-color background — shorthand for background(solidColor(color, alpha)).
Draws a border around the tile.
Builds every registered Builder in registration order, restoring each one's own GenericBuilder.compositionLocals snapshot (via BuildContext.with) for the duration of its own GenericBuilder.build call.
Compiles all the settings accumulated on this scope into a StyleSchema.
Fully circular/oval shape — the tile is clipped to an ellipse inscribed in its bounds.
Clips the tile's content and background to shape, built with circleShape, rectangleShape or roundedCornerShape.
Fills the available width, optionally capped at max dp.
Fills fraction (0f–1f) of the tallest sibling's height, inside a Row/FlowRow.
Fills the available height, optionally capped at max dp.
Fixes the width to exactly value dp.
Fixes the height to exactly value dp.
Cross-axis self-alignment inherited from the container's alignItems.
Aligns this child by its text baseline, overriding the container's alignItems.
Aligns this child to the center of the cross axis, overriding the container's alignItems.
Aligns this child to the end of the cross axis, overriding the container's alignItems.
Aligns this child to the start of the cross axis, overriding the container's alignItems.
Stretches this child across the cross axis, overriding the container's alignItems.
Flex basis derived automatically from the child's own content size.
Flex basis fixed to value dp before growing/shrinking is applied.
Flex basis as a fraction (0f–1f) of the container's main-axis size.
CSS-flexbox-style horizontal sizing, for children of a FlexBox.
Sets external spacing (outside the tile's border), symmetric on each axis, in dp.
Sets external spacing (outside the tile's border), symmetric horizontally but independent top/bottom, in dp.
Sets external spacing (outside the tile's border) independently per edge, in dp.
Sets internal spacing (inside the tile's border, around its content), symmetric on each axis, in dp.
Sets internal spacing (inside the tile's border, around its content), symmetric horizontally but independent top/bottom, in dp.
Sets internal spacing (inside the tile's border, around its content) independently per edge, in dp.
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.
Sets the tile's width/height behavior.
Spans value tracks horizontally, inside a Grid.
Spans value tracks vertically, inside a Grid.
Shares the parent's remaining width proportionally to value, inside a Row/FlowRow.
Shares the parent's remaining height proportionally to value, inside a Column.
Applies system window insets as extra padding on the tile, built with windowInsetsSystemBars, windowInsetsCaptionBar, windowInsetsStatusBar, windowInsetsNavigationBar, windowInsetsIme, windowInsetsDisplayCutout or windowInsetsWaterfall.
Insets for the app's caption bar (desktop/large-screen window chrome).
Insets for a display cutout (e.g. camera notch).
Insets for the on-screen keyboard (IME), growing as it appears.
Insets for the navigation bar only.
Insets for the status bar only.
Insets for the status bar, navigation bar and cutouts combined.
Insets for a waterfall (curved-edge) display.
Shrinks the width to wrap its content.
Shrinks the height to wrap its content.