SurfaceLayer enum

📚 SurfaceLayer

Defines the three layers for rendering a 🌟 Surface.

Inheritance

Constructors

SurfaceLayer()
const

Values

BASE → const SurfaceLayer

📚 Base Surface Layer

Lowest layer of a 🌟 Surface. This bottom AnimatedContainer may be skipped by passing true to Surface.disableBase.

Color/gradient determined by 🎨 Surface.baseColor or 🌆 Surface.baseGradient.

MATERIAL → const SurfaceLayer

📚 Material Surface Layer

The primary layer of a 🌟 Surface. It is here 🎨 Surface.color or 🌆 Surface.gradient is painted, the Material is laid, and potentially where the InkResponse will reside.

CHILD → const SurfaceLayer

📚 Child Surface Layer

The uppermost layer of a 🌟 Surface; or rather, what is directly underneath where ultimately the Surface.child is sent.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<SurfaceLayer>
A constant List of the values in this enum, in order of their declaration.