defaultBoxShadow function

List<BoxShadow> defaultBoxShadow({
  1. Color? shadowColor,
  2. double? blurRadius,
  3. double? spreadRadius,
  4. Offset offset = const Offset(0.0, 0.0),
})

default box shadow

Implementation

List<BoxShadow> defaultBoxShadow({
  Color? shadowColor,
  double? blurRadius,
  double? spreadRadius,
  Offset offset = const Offset(0.0, 0.0),
}) {
  return [
    BoxShadow(
      color: shadowColor ?? shadowColorGlobal,
      blurRadius: blurRadius ?? defaultBlurRadius,
      spreadRadius: spreadRadius ?? defaultSpreadRadius,
      offset: offset,
    )
  ];
}