value property

String? get value

Gets the CSS value of the box-shadow property.

Returns null if the properties are not set.

Example:

const Shadow(
  offsetX: 2,
  offsetY: 4,
  blurRadius: 8,
  color: Colors.black,
).value;
// Returns '2px 4px 8px 0px #000000'

Implementation

String? get value => props['box-shadow'];