Glass topic

Glass

SheenGlass draws frosted glass in Flutter: a backdrop blur with saturation, a body gradient, a rim, edge lines, a highlight and a shadow. Regular glass sits on bars and controls, clear glass over photos, prominent glass (the accent) on the one confirming action.

All glass under a SheenScope shares one backdrop copy, so many glass widgets cost little more than one. High contrast and SheenThemeData.reduceTransparency make glass opaque.

Glass over a photo

Classes

SheenGlass Glass
A frosted-glass surface, drawn in Flutter with no platform views and no shaders.
SheenGlassStyle Glass
One glass recipe: a body gradient over a tint, a backdrop blur with saturation and brightness, a 1 px gradient rim, inner edge lines, a specular highlight and an outer shadow.
SheenGlassStyles Glass
The glass recipes of a theme: regular, clear and prominent glass and the selection lens.
SheenLens Glass
The lens that marks the selected tab or segment inside a glass capsule, drawn with the theme's SheenGlassStyles.lens.
SheenLensStyle Glass
The lens that marks a selected tab or segment.

Enums

SheenGlassVariant Glass
The three kinds of glass.