ExpressiveAndroidShadowModel class abstract final

Android's shadow model, as the framework applies it on the oracle AVD (material_oracle, android-36) and Skia draws it. The literal lint excepts exactly these declarations (T src/lint.ts, LITERAL_EXCEPTIONS): they are the platform's, not a design token.

Properties

hashCode → int
The hash code for this object.
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

ambientGeomFactor → const double
kAmbientGeomFactor.
ambientHeightDivisor → const double
1 / kAmbientHeightFactor.
ambientShadowAlpha → const double
@dimen/ambient_shadow_alpha.
falloffCentre → const double
Where the fitted edge's midpoint sits, as a share of the band from its outer edge.
falloffPeak → const double
The falloff's full value, 1 − 0.018.
falloffSigma → const double
The fitted edge's sigma, as a share of the band.
lightRadius → const double
@dimen/light_radius, dp.
lightY → const double
@dimen/light_y, dp above the window's top edge.
lightZ → const double
@dimen/light_z, dp.
lightZReferenceWidth → const double
The display width (dp) at which lightZ is not rescaled.
lightZWeight → const double
The z rescale's weight: (ratio + weight) / (weight + 1).
maxSpotScale → const double
GetSpotParams' pin on lightZ / (lightZ − z).
maxSpotZRatio → const double
GetSpotParams' pin on z / (lightZ − z).
spotShadowAlpha → const double
@dimen/spot_shadow_alpha.