Peek class

🔲 Peek

Consider Peek to be a description of how the 📚 BASE is exposed behind the 📚 MATERIAL.

🔲 Peek.peek is applied as insets to 📚 SurfaceLayer.MATERIAL.


According to 🔲 Peek.alignment and Peek.ratio, a side(s) is given special treatment.

Defaults Alignment.center such that no side(s) receive(s) special treatment regardless of 🔲 Peek.peek.

Mixed in types

Constructors

Peek({double peek = 0, double ratio = 1, AlignmentGeometry alignment = Alignment.center})
Consider Peek to be a description of how the 📚 BASE is exposed behind the 📚 MATERIAL.
const

Properties

alignment → AlignmentGeometry
Selected by 🔲 alignment, a side(s) is given special treatment:
final
hashCode → int
The hash code for this object.
no setterinherited
peek → double
🔲 Peek.peek is applied as insets to 📚 SurfaceLayer.MATERIAL.
final
peekBottom → double
no setter
peekLeft → double
no setter
peekRight → double
no setter
peekTop → double
no setter
ratio → double
🔲 Peek.peek is applied as insets to 📚 SurfaceLayer.MATERIAL.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({double? peek, double? ratio, AlignmentGeometry? alignment}) → 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, ratio: 2.0, alignment: Alignment.center);
NONE → const Peek
No Peek results in 📚 BASE being encompassed by 📚 MATERIAL.