peek property
Surface 🔲 Peek.peek is applied as insets to 📚 SurfaceLayer.MATERIAL.
- It may be considered to function like a border for the child content.
- Note that 🌟 Surface does not currently support actual Borders.
- To give a border to a 🌟
Surface
, provide one as achild
to a DecoratedBox or Container.
According to 🔲 Peek.peekAlignment, a side(s) is given special treatment and made:
- thicker (default
peekRatio == 2.0
) or - thinner (
0 > peekRatio > 1
)
Defaults Alignment.center such that no sides receive special treatment.
Implementation
final Peek peek;