shadow static method

List<BoxShadow> shadow({
  1. Color? color,
  2. double? blurRadius,
  3. Offset? offset,
  4. double? spreadRadius,
})

Sets Custom single shadow.

Implementation

static List<BoxShadow> shadow({
  Color? color,
  double? blurRadius,
  Offset? offset,
  double? spreadRadius,
}) =>
    _copyWith(
      blurRadius: blurRadius,
      color: color,
      offset: offset,
      spreadRadius: spreadRadius,
    );