ShadowConfiguration class

Constructors

ShadowConfiguration({double blurRadius = minBlurRadius, double opacity = minShadowOpacity, Color color = defaultShadowColor, Offset maxOffset = const Offset(maxShadowOffset, maxShadowOffset), double topOffset = minShadowTopOffset})
A set of values that define the shadow effect's behavior.
const
ShadowConfiguration.fromElevation(int elevation)
A constructor that creates a ShadowConfiguration from an elevation.
factory

Properties

blurRadius double
final
color Color
The shadow's color. Opacity is not taken into account as it is controlled by the opacity property.
final
hashCode int
The hash code for this object.
no setterinherited
isVisible bool
A bool indicating whether the shadow's configuration values mean that the shadow is visible or not.
no setter
maxOffset Offset
The maximum extent that the shadow can reach.
final
opacity double
The shadow's opacity. From 0 to 1.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topOffset double
An additional offset to apply to the top of the shadow.
final

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