ShadowConfig class

Configuration for widget shadow effects.

Constructors

ShadowConfig({required bool enabled, required List<ShadowLayer> layers})
Creates a new ShadowConfig instance.
const
ShadowConfig.fromJson(Map<String, dynamic> json)
Creates a ShadowConfig from a JSON map.
factory

Properties

enabled bool
Whether shadows are enabled.
final
hashCode int
The hash code for this object.
no setterinherited
layers List<ShadowLayer>
List of shadow layers.
final
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
toJson() Map<String, dynamic>
Converts this ShadowConfig to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

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