content library

Curtains & Surface

Classes

BouncyBall
๐Ÿ“ BouncyBall
BoxDecoration
An immutable description of how to paint a box.
BoxShadow
A shadow cast by a box.
Color
An immutable 32 bit color value in ARGB format.
CornerSpec
๐Ÿ“ CornerSpec
Curtains
๐Ÿ“œ Curtains
DragNub
Elevation
๐Ÿ•ด Elevation double => <BoxShadow>[]
Filter
๐Ÿ”ฌ Filter
FX
๐Ÿคนโ€โ™‚๏ธ Surface FX
Offset
An immutable 2D floating-point offset.
Peek
๐Ÿ”ฒ Peek
Sensitivity
Sensitivity corresponds to a tolerance amount at either the start or end of a scrollable wrapped in Curtains.
Shape
๐Ÿ”ฐ Shape
Surface
๐ŸŒŸ Surface
SurfaceShape
Responsible for accepting a CornerSpec, BorderRadiusGeometry, and optionally a BorderSide description, and generating an OutlinedBorder that may be pathed.
TapSpec
๐Ÿ‘† TapSpec

Enums

Corner
๐Ÿ“ Corner
SurfaceLayer
๐Ÿ“š SurfaceLayer

Extensions

BoxShadowsUtils on List<BoxShadow>
โ›… Box Shadows Utilities
BoxShadowUtils on BoxShadow
๐Ÿ‘“ Box Shadow Utilities
ElevationUtils on List<BoxShadow>
Provides ๐ŸŸฆ materialize for a tuple of BoxShadows.
Shading on Color

Constants

kElevationShadowOpacityRamp โ†’ const List<double>
๐ŸŸฆ 0.2, 0.14, 0.12 Considering the shadows in kElevationToShadow use these three Colors:
kElevationToShadow โ†’ const Map<int, List<BoxShadow>>
Map of elevation offsets used by Material Design to BoxShadow definitions.

Typedefs

SurfaceFX = ImageFilter Function(double specRadius, SurfaceLayer layerForRender)
๐Ÿคนโ€โ™‚๏ธ Surface FX