Peek constructor

const Peek({
  1. double peek = 0,
  2. double peekRatio = 1,
  3. AlignmentGeometry peekAlignment = Alignment.center,
})

🔲 Peek

A 🌟 Surface may be provided a 🔲 Peek to define several attributes about the shared space at the adjacent edge of 📚 SurfaceLayer.BASE and 📚 SurfaceLayer.MATERIAL.

Implementation

const Peek({
  this.peek = 0,
  this.peekRatio = 1,
  this.peekAlignment = Alignment.center,
}) : assert(peek >= 0, '[Peek] > Provide a non-negative `peek`.');