Peek class

🔲 Peek

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

Mixed in types

Constructors

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

Properties

hashCode → int
The hash code for this object.
no setterinherited
peek → double
The 🔲 peek is a double applied as padding to and insetting 📚 SurfaceLayer.MATERIAL.
final
peekAlignment → AlignmentGeometry
Determined by peekAlignment, a side(s) is given special treatment and made
final
peekBottom → double
no setter
peekLeft → double
no setter
peekRatio → double
The 🔲 peek is a double applied as padding to and insetting 📚 SurfaceLayer.MATERIAL.
final
peekRight → double
no setter
peekTop → double
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({double? peek, double? peekRatio, AlignmentGeometry? peekAlignment}) → Peek
📋 Returns a copy of this Peek with the given properties.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringShort() → String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

lerp(Peek? a, Peek? b, double t) → Peek?
If both are null, returns null.

Constants

DEFAULT → const Peek
Peek(peek: 3.0, peekRatio: 2.0, peekAlignment: Alignment.center);
NONE → const Peek
No Peek results in 📚 BASE being encompassed by 📚 MATERIAL.