SurfaceLayer enum

📇 SurfaceLayer

Defines the three layers for rendering a Surface.

Constants

BORDER → const SurfaceLayer

Lowest layer of a Surface. This bottom AnimatedContainer may be skipped by passing true to Surface.disableBorder. Color/gradient determined by Surface.borderColor or Surface.borderGradient.

const SurfaceLayer(0)
CHILD → const SurfaceLayer

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

const SurfaceLayer(2)
MATERIAL → const SurfaceLayer

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

const SurfaceLayer(1)
values → const List<SurfaceLayer>

A constant List of the values in this enum, in order of their declaration.

const List<SurfaceLayer>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited